In spring, AOP is supported via 2 methods:
Click on the links to read in detail.
How to configure any of the methods in spring?
We need to decide with approach to use:
Click on the links to read in detail.
How to configure any of the methods in spring?
We need to decide with approach to use:
- <aop:aspectj-autoproxy/> to enable proxy based AOP implementation.
- <context:load-time-weaver /> to enable LTW ( load time weaving ) of classes.
Works for Tomcat 5.5+, dm server 1.0+, weblogic 10, oc4j 10.x, glassfish.
For standalone applications use:
java-javaagent:spring-agent.jar ...
No comments:
Post a Comment