
方法拦截器
文章平均质量分 77
aben06
不患无知己,求为可知也.
展开
-
方法拦截器(MethodInterceptor)使用
方法拦截器(MethodInterceptor)使用 package cuigh.spring.aop.step01;/* * 功能:目标类 * */public class MessageWriter {public void writeMessage(String name){System.out.print(" World ");}public原创 2013-07-16 14:17:54 · 3261 阅读 · 1 评论 -
spring切入点使用
package cuigh.spring.aop.step02;import org.aopalliance.aop.Advice;import org.springframework.aop.Advisor;import org.springframework.aop.framework.ProxyFactory;import org.springframework.aop.suppo原创 2013-07-19 14:12:47 · 552 阅读 · 0 评论