i have a simple web app with a servlet or two. i'd like to use the org.jboss.aspects.logging.CallLoggingInterceptor to log method invocation on my existing running app without touching the deployed .war. i want to use the supplied interceptors and such to be able to quickly demonstrate to some folks in our group the power of using aspects.
i've got a stock release of jboss-4.0.1sp1. i enabled the transformer in the deploy/jboss-aop.deployer/META-INF/jboss-service.xml. i tried adding a section to the deploy/jboss-aop.deployer/base-aop.xml to bind the interceptor to my servlet like such:
| <bind pointcut="execution(* org.test.*->*(..))">
| <interceptor class="org.jboss.aspects.logging.CallLoggingInterceptor"/>
| </bind>
|
i set the root logger to debug level in the log4j.xml. when calling my servlet i don't see any additional logging from the CallLoggingInterceptor. I'm certainly missing something here...?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882737#3882737
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882737
|