[jboss-user] [JBoss AOP] - Getting an Object in Interceptor

kumar_iitm do-not-reply at jboss.com
Thu Mar 22 14:13:25 EDT 2007


Hi,
I'm new to JBoss AOP and I'm struck in mid of development. I want to intercept a call in a method and I need the object returned by the call to be used in Interceptor. 

Basically I'm trying to use JAMON to monitor tha application and want to intercept these calls with JBoss AOP.
public void methodX() {
            ....
            ...................
           IEntity entiti = EntityFactory.getEntiy(msg);
 }
I want to intercept the above call and pass the entiti object to the Interceptor which has to be passed to JAmon API.

Can any one please guide me how to write the pointcut for this?



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

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



More information about the jboss-user mailing list