org.openejb.client
Class EJBHomeHandle

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

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

Since:
11/25/2001
Author:
David Blevins
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(java.io.ObjectInput in)
          Reads the instanceHandle from the stream
protected  void setEJBHomeProxy(EJBHomeProxy ejbHomeProxy)
           
 void writeExternal(java.io.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 java.rmi.RemoteException
Obtain the home object represented by this handle.

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

writeExternal

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

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Reads the instanceHandle from the stream

Specified by:
readExternal in interface java.io.Externalizable
Parameters:
in -
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.