|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.lib.impl.AbstractEJBProxy
public abstract class AbstractEJBProxy
Generic EJB proxy for stateless session beans. Acts as an InvocationHandler for a dynamic proxy.
Constructor Summary | |
---|---|
protected |
AbstractEJBProxy(NameLookup nameLookup,
RemoteExceptionCoordinator coordinator)
|
Method Summary | |
---|---|
protected abstract void |
_clearCachedReferences()
Clears the home and remote objects after any remote exception. |
protected void |
_handleRemoteException(java.rmi.RemoteException ex)
Invoked by the fabricated subclass when a remote exception occurs. |
protected java.lang.Object |
_lookup(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractEJBProxy(NameLookup nameLookup, RemoteExceptionCoordinator coordinator)
Method Detail |
---|
protected java.lang.Object _lookup(java.lang.String name)
protected abstract void _clearCachedReferences()
protected void _handleRemoteException(java.rmi.RemoteException ex)
RemoteExceptionCoordinator
(which, indirectly,
allows the NameLookup
service to release its JNDI context).
In addition, _clearCachedReferences()
is invoked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |