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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to