[jboss-dev-forums] [Design of EJB 3.0] - Re: Determine whether an invocation is local or remote

wolfc do-not-reply at jboss.com
Thu Mar 27 17:23:28 EDT 2008


Remove the logic from IsLocalInterceptor. This also eliminates the dependency of the proxies on IsLocalInterceptor. The proxy itself already has (almost) all the knowledge to make the decision, so it can set the flag itself.
Make sure this flag is accessed via a strong typed api where we control the key name for that piece of invocation metadata.

As an interim I don't mind having a static method isLocalVMInvocation in IsLocalInterceptor. That at least centralizes the logic.

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

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



More information about the jboss-dev-forums mailing list