[jboss-dev-forums] [Design of EJB 3.0] - Re: IsLocalInterceptor not detecting local container
bstansberry@jboss.com
do-not-reply at jboss.com
Tue Mar 13 12:49:26 EDT 2007
So the EJBTHREE-873 issue is that people didn't want the EJB2 behavior of forcing the call locally? The EJB2 InvokerInterceptor will do that, but only if the bean is clustered.
| public boolean isLocal(Invocation invocation)
| {
| // No local invoker, it must be remote
| if (localInvoker == null)
| return false;
|
| // The proxy was downloaded from a remote location
| if (isLocal() == false)
| {
| // It is not clustered so we go remote
| if (isClustered(invocation) == false)
| return false;
| }
|
| // See whether we have a local target
| return hasLocalTarget(invocation);
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027606#4027606
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027606
More information about the jboss-dev-forums
mailing list