Thanks for quick anwer Kabir! i. I have included org.jnp.server in AspectManagerService ii. Loadtime weaving is turned on iii. call is changed to execution
However, there's seems no interceptor is invoked Kabir. Here's my jboss-aop.xml: | <?xml version="1.0" encoding="UTF-8"?> | <aop> | <bind pointcut="execution(* org.jnp.server.NamingServer->setBinding(..))"> | <interceptor class="com.cmi2.facility.jndi.aop.SimpleInterceptor" /> | </bind> | </aop> | I did run the example injboss StandardMBean and everything seems fine! Infact I have added the (below) pointcut to the MBean to intercept calls to NamingServer (for a quick test) | <bind pointcut="execution(* org.jnp.server.NamingServer->setBinding(..))"> | <interceptor class="org.jboss.injbossaop.lib.SimpleInterceptor" /> | </bind> | I run a test client to do a JNDI bind - but nothing happens!! Any ideas? Thanks /M View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985825#3985825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985825 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user