[jboss-user] [JBoss AOP] - Re: dynamic AOP - how to add advice???
bornmw
do-not-reply at jboss.com
Mon Jan 21 07:14:57 EST 2008
This code works for me:
| AdviceBinding binding = new AdviceBinding("execution(public * WeatherPortlet->render(..))", null);
| binding.addInterceptorFactory(new AdviceFactory(new AspectDefinition("TickerViewAspect",null,new GenericAspectFactory("TickerViewAspect",null)), "render"));
| AspectManager.instance().addBinding(binding);
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121801#4121801
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121801
More information about the jboss-user
mailing list