[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Unexpected behaviour in PER_CLASS_JOINPOINT aspect facto

wolfc do-not-reply at jboss.com
Tue May 5 13:23:13 EDT 2009


Right now the CMTxInterceptorFactory is instantiated per class join point. It should actually be instantiated per vm.

This used to be the case with org.jboss.aop.advice.AspectFactoryDelegator which caches the factory, but org.jboss.aop.microcontainer.beans.DelegatingBeanAspectFactory does not.

Apart from the fact that the scoping of an aspect factory can't be configured, is there a reason why DelegatingBeanAspectFactory doesn't cache?

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

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



More information about the jboss-dev-forums mailing list