[jboss-dev-forums] [Design of EJB 3.0] - Re: IsLocalInterceptor not detecting local container
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Jun 20 14:54:04 EDT 2007
Thanks, James.
The problem with storing the partition name in the interceptor is you are forced to use a static method to determine the partition name. That limits you to a single partition per VM, while JBoss AS supports multiple partitions.
I ended up including the partition name in the proxy rather than in an interceptor; it gets passed to the interceptor as invocation metadata. The EJB container is responsible for creating the proxy and can pass the the partition name as a c'tor arg without any problem, so there's no need for a static method.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056160#4056160
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056160
More information about the jboss-dev-forums
mailing list