org.objectweb.jonas_ejb.container
Class JEntityHandle

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.container.JEntityHandle
All Implemented Interfaces:
javax.ejb.Handle, java.io.Serializable

public abstract class JEntityHandle
extends java.lang.Object
implements javax.ejb.Handle, java.io.Serializable

This class implements javax.ejb.Handle interface. For a Entity Bean a Handle is a serializable class that contains the HomeHandle and the primary key

See Also:
Serialized Form

Field Summary
protected  javax.ejb.HomeHandle homehandle
           
protected  java.io.Serializable pk
           
 
Constructor Summary
JEntityHandle(JEntityRemote remote)
          constructor
 
Method Summary
abstract  javax.ejb.EJBObject getEJBObject()
          Obtains the EJB object represented by this handle.
 java.lang.Object getPK()
          Return the Primary Key embedded in the Handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

homehandle

protected javax.ejb.HomeHandle homehandle

pk

protected java.io.Serializable pk
Constructor Detail

JEntityHandle

public JEntityHandle(JEntityRemote remote)
constructor
Method Detail

getEJBObject

public abstract javax.ejb.EJBObject getEJBObject()
                                          throws java.rmi.RemoteException
Obtains the EJB object represented by this handle.
Specified by:
getEJBObject in interface javax.ejb.Handle

getPK

public java.lang.Object getPK()
Return the Primary Key embedded in the Handle