I also think it should be possible to make the pointcut attribute optional for the
lifecycle events
| <aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
| name="JMXLifecycle"
|
class="org.jboss.aop.microcontainer.aspects.jmx.JMXIntroduction"
| classes="(a)org.jboss.aop.microcontainer.aspects.jmx.JMX"
| </aop:lifecycle-configure>
|
Since in most cases the pointcut will be something along the lines of
| execution(*
CLASSES_VALUE->$implements{org.jboss.kernel.spi.dependency.KernelControllerContextAware}(..))">
|
i.e.:
| execution(*
@org.jboss.aop.microcontainer.aspects.jmx.JMX->$implements{org.jboss.kernel.spi.dependency.KernelControllerContextAware}(..))">
|
If something apart from this defaul needs doing it will be possible to specify the
"pointcut" attribute as it works at present.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014258#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...