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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...