Created
February 17, 2012 17:13
-
-
Save rajeshpv/1854431 to your computer and use it in GitHub Desktop.
spring method aop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <bean id="customizableTraceInterceptor" class="org.springframework.aop.interceptor.CustomizableTraceInterceptor"> | |
| <property name="enterMessage" value="Entering $[methodName]($[arguments])"/> | |
| <property name="exitMessage" value="Leaving $[methodName](): $[returnValue]"/> | |
| </bean> | |
| <aop:config> | |
| <aop:advisor advice-ref="customizableTraceInterceptor" pointcut="execution(public * org.synyx.hades.dao.GenericDao+.*(..))"/> | |
| </aop:config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment