I recommended adding onto SessionProxy:

http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/proxy-spi/src/main/java/org/jboss/ejb3/proxy/spi/intf/SessionProxy.java

...to add a "removeTarget()" method.  Usage becomes:

Object proxy = jndiContext.lookup("MyBean/remote");
  | SessionProxy sProxy = (SessionProxy)proxy;
  | sProxy.removeTarget();

...which would be No-op for SLSB/Singleton and remove the underlying bean 
context and session ID from the cache for SFSB.

S,
ALR

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217865
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to