Spring AOP功能的实现
摘要:主要有两种方式:一种是基于XML Schema的设置,一种是基于Annotation的支持基于XML Schema的前置通知(现在LogBeforeAdvice不需要实现MethodBeforeAdvice)LogBeforeAdvice.javapublic class LogBeforeAdvice { public void before(JoinPoint joinPoint) { System.out.println(joinPoint.getSignature().getName()+",start.............LogBeforeAdvice");
阅读全文
posted @ 2012-09-17 00:51
浙公网安备 33010602011771号