[jboss-user] [JBoss AOP] - Re: .aop or .jar
kabir.khan@jboss.com
do-not-reply at jboss.com
Wed Nov 8 05:58:41 EST 2006
In the jboss-service.xml defining the aspectmanager service, uncomment the Ignore attribute:
| <mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5"
| name="jboss.aop:service=AspectManager">
| <attribute name="EnableLoadtimeWeaving">true</attribute>
| <!-- only relevant when EnableLoadtimeWeaving is true.
| When transformer is on, every loaded class gets
| transformed. If AOP can't find the class, then it
| throws an exception. Sometimes, classes may not have
| all the classes they reference. So, the Suppressing
| is needed. (i.e. Jboss cache in the default configuration -->
| <attribute name="SuppressTransformationErrors">true</attribute>
| <attribute name="Prune">true</attribute>
| <attribute name="Include">org.jboss.test, org.jboss.injbossaop, org.jboss.seam.example.booking</attribute>
| <attribute name="Exclude">org.</attribute>
| <!-- This avoids instrumentation of hibernate cglib enhanced proxies -->
| <attribute name="Ignore">*$$EnhancerByCGLIB$$*</attribute>
| <attribute name="Optimized">true</attribute>
| <attribute name="Verbose">false</attribute>
| </mbean>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984065#3984065
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984065
More information about the jboss-user
mailing list