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

and

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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to