[jboss-user] [JBoss AOP] - Re: How can we pintcut JBoss classes?

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Nov 14 12:32:31 EST 2006

I forgot,

you would need to make this pointcut available before the NamingServer is loaded, since loadtime weaving can only be done the first time a class is loaded.

Now the problem is that the naming service is one of the bootstrap services loaded up via server/xxx/conf/jboss-service.xml, and so it is loaded before the AspectManager has been deployed. So in other words loadtime weaving will not be possible for this scenario.

You could try 
- unjaring server/xxx/jnpserver.jar
- running aopc on the classes
- Creating a new jnpserver.jar with the woven classes


making your pointcut available in server/default/deploy\/boss-aop.deployer/base-aop.jar

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985862#3985862

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985862

More information about the jboss-user mailing list