[jboss-user] [JBoss AOP Users] - Re: Deploy AOP to jboss 5.1
kgreenejpmc
do-not-reply at jboss.com
Mon Aug 24 18:04:41 EDT 2009
I resolved the classnotfound error. The aop is being applied to the injbossaop example as I see the output below.
Still trying to figure out why the aop for my classes are not being applied. Is there something different that needs to be done if the aop is being triggered via an annotation? If you have any insights, it would be most appreciated. The annotation, aspect and jboss-aop.xml is in previous replies.
17:52:19,670 INFO [STDOUT] **** ExampleValue empty Constructor
17:52:19,717 INFO [STDOUT] <<< Entering SimpleInterceptor:
invocation class: org.jboss.injbossaop.lib.JoinPoint_getMessage5353407034680111516_1
type: Method Invocation
method: getMessage
Class containing method: org.jboss.injbossaop.lib.ExampleValue
17:52:19,717 INFO [STDOUT] **** ExampleValue.getMessage()
17:52:19,717 INFO [STDOUT] >>> Leaving SimpleInterceptor
17:54:08,753 INFO [STDOUT] <<< Entering SimpleInterceptor:
invocation class: org.jboss.injbossaop.web.JoinPoint_service8586428322187484014_2
type: Method Invocation
method: service
Class containing method: org.jboss.injbossaop.web.BasicExampleServlet
17:54:08,769 INFO [STDOUT] **** BasicExampleServlet.service()
17:54:08,816 INFO [STDOUT] <<< Entering SimpleInterceptor:
invocation class: org.jboss.injbossaop.lib.JoinPoint_constructor_ExampleValue_1_3
type: Constructor Invocation
constructor: public org.jboss.injbossaop.lib.ExampleValue(java.lang.String)
17:54:08,816 INFO [STDOUT] **** ExampleValue String Constructor
17:54:08,816 INFO [STDOUT] >>> Leaving SimpleInterceptor
17:54:08,910 INFO [STDOUT] <<< Entering SimpleInterceptor:
invocation class: org.jboss.injbossaop.lib.JoinPoint_getMessage5353407034680111516_1
type: Method Invocation
method: getMessage
Class containing method: org.jboss.injbossaop.lib.ExampleValue
17:54:08,910 INFO [STDOUT] **** ExampleValue.getMessage()
17:54:08,910 INFO [STDOUT] >>> Leaving SimpleInterceptor
17:54:08,910 INFO [STDOUT] >>> Leaving SimpleInterceptor
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251318#4251318
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251318
More information about the jboss-user
mailing list