[jboss-user] [JBoss AOP] - Re: Tracing/Logging - Actual RMI calls vs calls between EJBs

kabir.khan@jboss.com do-not-reply at jboss.com
Sun Nov 26 17:10:59 EST 2006


There is no easy way to do this at the AOP layer, but it seems that if the call is local the EJBContainerInvocation will contain something under


  | invocation.getMetaData("IS_LOCAL", "IS_LOCAL");
  | 

You could customize the stack of interceptors used for your ejb 3 container(s) in ejb3-interceptors-aop.xml, or create your own domains by deploying your own whatever-aop.xml file and override the domain used in your bean using the @Domain annotation.
I am not sure if this is shown in the ejb3 documentation, but there is a test in the ejb3 testsuite under org.jboss.ejb3.test.aspectdomain that you could look at.


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

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



More information about the jboss-user mailing list