"scott.stark(a)jboss.org" wrote :
| There does not appear to be any support for specifying which method in an aspect to
use via the aop:lifecycle-configure element. How would I map these aop.xml element to an
aop:lifecycle-configure equivalent?
|
|
This has been fixed, you can now do:
| <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
| name="JMXLifecycle"
| class="org.jboss.test.microcontainer.support.TestAspect"
| classes="(a)org.jboss.aop.microcontainer.aspects.jmx.JMX"
| method="foo"
| pointcut="execution(*
@org.jboss.aop.microcontainer.aspects.jmx.JMX->$implements{org.jboss.kernel.spi.dependency.KernelControllerContextAware}(..))">
| <property name="shouldInvoke">false</property>
| </aop:lifecycle-configure>
|
"method" specifies the aspect method
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014255#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...