org.openejb.client
Class EJBHomeHandle

java.lang.Object
  extended byorg.openejb.client.EJBHomeHandle
All Implemented Interfaces:
Externalizable, javax.ejb.HomeHandle, Serializable

public class EJBHomeHandle
extends Object
implements Externalizable, javax.ejb.HomeHandle

Since:
11/25/2001
See Also:
Serialized Form

Field Summary
protected  EJBHomeProxy ejbHomeProxy
           
protected  EJBHomeHandler handler
           
 
Constructor Summary
EJBHomeHandle()
          Public no-arg constructor required by Externalizable API
EJBHomeHandle(EJBHomeProxy proxy)
           
 
Method Summary
 javax.ejb.EJBHome getEJBHome()
          Obtain the home object represented by this handle.
 void readExternal(ObjectInput in)
          Reads the instanceHandle from the stream
protected  void setEJBHomeProxy(EJBHomeProxy ejbHomeProxy)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbHomeProxy

protected transient EJBHomeProxy ejbHomeProxy

handler

protected transient EJBHomeHandler handler
Constructor Detail

EJBHomeHandle

public EJBHomeHandle()
Public no-arg constructor required by Externalizable API


EJBHomeHandle

public EJBHomeHandle(EJBHomeProxy proxy)
Method Detail

setEJBHomeProxy

protected void setEJBHomeProxy(EJBHomeProxy ejbHomeProxy)

getEJBHome

public javax.ejb.EJBHome getEJBHome()
                             throws RemoteException
Obtain the home object represented by this handle.

Specified by:
getEJBHome in interface javax.ejb.HomeHandle
Throws:
RemoteException - The home object could not be obtained because of a system-level failure.

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
Reads the instanceHandle from the stream

Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 1999-2006 OpenEJB. All Rights Reserved.