[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Aspect integration to bootstrap classes
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Jan 5 13:24:38 EST 2007
The question is should be drop the jboss-aop-mc-int-boot.jar and
allow for use of aspects in the bootstrap-beans.xml. What I'm needing to
do is the equivalent of adding these aspects/pointcuts:
| <aspect name="persist"
| class="org.jboss.profileservice.aop.PersistAdvice"/>
| <aspect name="mainDeployer"
| class="org.jboss.profileservice.aop.MainDeployerAdvice"/>
| <bind pointcut="execution(*
| $instanceof{org.jboss.deployers.spi.deployment.MainDeployer}->process(..))">
| <advice name="process" aspect="mainDeployer"/>
| </bind>
| <bind pointcut="execution(*
| $instanceof{org.jboss.managed.api.ManagedProperty}->setValue(..))">
| <advice name="setValue" aspect="persist"/>
| </bind>
|
Are there aop/mc integration constructs that already allow for this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998338#3998338
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998338
More information about the jboss-dev-forums
mailing list