Kabir, now none of the aspects configured via the AspectManager ctor xml are being
applied, even when I add org.jboss.deployers to the include list. I have to specify the
aspects via the aop:lifecycle-configure to get them to be applied.
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?
| <aspect name="track"
class="org.jboss.profileservice.aop.TrackingAdvice"/>
| <bind pointcut="execution(*
$instanceof{org.jboss.deployers.spi.attachments.Attachments}->addAttachment(..))">
| <advice name="addAttachment"
aspect="track"/>
| </bind>
| <bind pointcut="execution(*
$instanceof{org.jboss.deployers.spi.attachments.Attachments}->removeAttachment(..))">
| <advice name="removeAttachment"
aspect="track"/>
| </bind>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012283#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...