For
http://jira.jboss.com/jira/browse/JBAOP-271 I have made the AspectBeanMetaDataFactory
not instantiate the AspectManager itself yet, but rather rely in it being installed as a
bean.
By default it will look for a bean called "AspectManager", but this can be
overridden, using the manager-bean and manager-property attributes of aop:aspect, e.g:
| <aop:aspect xmlns:aop="urn:jboss:aop-beans:1.0"
| name="JMXAdvice"
|
class="org.jboss.aop.microcontainer.aspects.jmx.JMXIntroduction"
| manager-bean="AspectManager"
| manager-property="aspectManager"
| pointcut="execution(*
@org.jboss.aop.microcontainer.aspects.jmx.JMX->$implements{org.jboss.kernel.spi.dependency.KernelControllerContextAware}(..))">
| <property name="mbeanServer"><inject
bean="JMXKernel" property="mbeanServer"/></property>
| </aop:aspect>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985148#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...