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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...