For this situation you could look at using the "construction" construct, where 
the mounting the interceptor chains takes place inside the constructor (after 
the main body.

example:

construction(POJO->new(int))

Note that you can change the value of the jboss.aop.include system property to 
allow instrumentation of classes in packages under org.jboss. By default all of 
org.jboss apart from org.jboss.injbossaop is turned off.

There are some classes however that we do not allow weaving of, these inclide 
classes whose fqn starts with:

javassist.
org.jboss.aop
org.jboss.aop
java.
javax.
sun.
com.sun.
jrockit.
com.bea.vm.




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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to