org.openejb.ri.server
Class EjbProxyHandler
java.lang.Object
|
+--org.openejb.ri.server.EjbProxyHandler
- All Implemented Interfaces:
- InvocationHandler, java.io.Serializable
- public class EjbProxyHandler
- extends java.lang.Object
- implements InvocationHandler, java.io.Serializable
This InvocationHandler and its proxy are serializable and can be used by
HomeHandle, Handle, and MetaData to persist and revive handles. It maintains
its original client identity which allows the container to be more discerning about
allowing the revieed proxy to be used. See StatefulContaer manager for more details.
- See Also:
- Serialized Form
Constructor Summary |
EjbProxyHandler()
Public no-arg constructor required by Externalizable API |
EjbProxyHandler(int port,
java.lang.String ip,
java.lang.Object pk,
java.lang.Object depID,
java.lang.String securityToken)
|
Method Summary |
protected void |
finalize()
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
Methods inherited from class java.lang.Object |
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socket
transient java.net.Socket socket
message
transient RPCMessage message
oos
transient java.io.ObjectOutputStream oos
ois
transient java.io.ObjectInputStream ois
port
int port
ip
java.lang.String ip
deploymentID
java.io.Serializable deploymentID
primaryKey
java.io.Serializable primaryKey
inProxyMap
boolean inProxyMap
isInvalidReference
boolean isInvalidReference
securityToken
java.lang.String securityToken
EjbProxyHandler
public EjbProxyHandler()
- Public no-arg constructor required by Externalizable API
EjbProxyHandler
public EjbProxyHandler(int port,
java.lang.String ip,
java.lang.Object pk,
java.lang.Object depID,
java.lang.String securityToken)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface InvocationHandler
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object