摘要: 1 public interface Waiter { 2 void greetTo(String name); 3 4 void serveTo(String name); 5 } 1 package com.asm; 2 3 public class NaiveWaiter implements Waiter { 4 5 public ... 阅读全文
posted @ 2016-06-20 22:44 Sharpest 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 基于Schema的配置 阅读全文
posted @ 2016-06-20 22:28 Sharpest 阅读(257) 评论(0) 推荐(0) 编辑
摘要: @AspectJ采用注解描述 切点表达式函数: execution(* greetTo(..))切点表达式 execution:代表执行某一个方法 * greetTo(..):为操作数描述目标方法的匹配串 阅读全文
posted @ 2016-06-20 17:35 Sharpest 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Spring提供自动生成代理,让容器自动生成代理,把用户繁琐的配置工作中解放出来 在Spring使用BeanPostProcessor完成这项工作 BeanNameAutoProxyCreator DefaultAdvisorAutoProxyCreator 切面是切点和增强的复合体 阅读全文
posted @ 2016-06-20 16:56 Sharpest 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1. 检查JDK,及Tomcat是否正确可用.2. Tomcat,myeclipse使用的是不是同一个jdk.3. 检查系统的防火墙是不是阻止了MyEclipse主程序访问网络. 阅读全文
posted @ 2016-06-20 14:52 Sharpest 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/xdp-gacl/p/3497016.html 一、下载SVN插件subclipse 下载地址:http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240 在打开的 阅读全文
posted @ 2016-06-20 14:14 Sharpest 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/techbirds_bao/article/details/9241371 在基于主机方式配置Spring的配置文件中,你可能会见到<context:annotation-config/>这样一条配置,他的作用是式地向 Spring 容器注册 Aut 阅读全文
posted @ 2016-06-20 09:37 Sharpest 阅读(397) 评论(0) 推荐(0) 编辑