[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

vickyk do-not-reply at jboss.com
Tue Feb 27 05:38:36 EST 2007


org.jboss.aop.advice.AdviceBinding binding = new AdviceBinding("execution(POJO->new(..))", null);
  |       binding.addInterceptor(SimpleInterceptor.class);
  |       AspectManager.instance().addBinding(binding);
All we need to do is to have the above code formed through the xml file when using the MC . Am I right ?

And logically the Interceptor will 
1) Read the annotation data of the POJO .
2) Get the MBeanServer .
3) Register the POJO in the MBeanServer .

Am I missing something here ?


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

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



More information about the jboss-user mailing list