org.apache.openejb.client
Class EJBObjectHandle

java.lang.Object
  extended by org.apache.openejb.client.EJBObjectHandle
All Implemented Interfaces:
Externalizable, Serializable, javax.ejb.Handle

public class EJBObjectHandle
extends Object
implements Externalizable, javax.ejb.Handle

See Also:
Serialized Form

Field Summary
protected  EJBObjectProxy ejbObjectProxy
           
protected  EJBObjectHandler handler
           
 
Constructor Summary
EJBObjectHandle()
           
EJBObjectHandle(EJBObjectProxy proxy)
           
 
Method Summary
 javax.ejb.EJBObject getEJBObject()
           
 void readExternal(ObjectInput in)
           
protected  void setEJBObjectProxy(EJBObjectProxy ejbObjectProxy)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbObjectProxy

protected transient EJBObjectProxy ejbObjectProxy

handler

protected transient EJBObjectHandler handler
Constructor Detail

EJBObjectHandle

public EJBObjectHandle()

EJBObjectHandle

public EJBObjectHandle(EJBObjectProxy proxy)
Method Detail

setEJBObjectProxy

protected void setEJBObjectProxy(EJBObjectProxy ejbObjectProxy)

getEJBObject

public javax.ejb.EJBObject getEJBObject()
                                 throws RemoteException
Specified by:
getEJBObject in interface javax.ejb.Handle
Throws:
RemoteException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.