[jboss-user] [JBoss AOP] - dynamic AOP - how to add advice???

bornmw do-not-reply at jboss.com
Sat Jan 19 09:10:36 EST 2008


I have an aspect, defined as
<aspect name="ViewAspect" class="ViewAspect"/>

How do I programmatically make an advice out of its 'render' method and add it to the chain of interceptors, same as I do with next xml:
<bind pointcut="execution(public * TickerPortlet->render(..))">
  | <advice name="render" aspect="ViewAspect"/>
  | </bind>


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121511#4121511

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121511



More information about the jboss-user mailing list