public class EJBObjectHandle extends java.lang.Object implements java.io.Externalizable, Handle
Modifier and Type | Field and Description |
---|---|
protected EJBObjectProxy |
ejbObjectProxy |
protected EJBObjectHandler |
handler |
Constructor and Description |
---|
EJBObjectHandle() |
EJBObjectHandle(EJBObjectProxy proxy) |
Modifier and Type | Method and Description |
---|---|
EJBObject |
getEJBObject()
Obtain the EJB object reference represented by this handle.
|
void |
readExternal(java.io.ObjectInput in) |
protected void |
setEJBObjectProxy(EJBObjectProxy ejbObjectProxy) |
void |
setMetaData(ProtocolMetaData metaData) |
void |
writeExternal(java.io.ObjectOutput out) |
protected transient EJBObjectProxy ejbObjectProxy
protected transient EJBObjectHandler handler
public EJBObjectHandle()
public EJBObjectHandle(EJBObjectProxy proxy)
public void setMetaData(ProtocolMetaData metaData)
protected void setEJBObjectProxy(EJBObjectProxy ejbObjectProxy)
public EJBObject getEJBObject() throws java.rmi.RemoteException
Handle
getEJBObject
in interface Handle
java.rmi.RemoteException
- The EJB object could not be obtained
because of a system-level failure.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException