org.objectweb.jonas_ejb.container
Class JSessionHandle

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

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

This class implements javax.ejb.Handle interface. For a Session Bean a Handle is directly its RMI Reference because its life time is limited by the EJBServer life time. (no need to retrieve it after the EJBServer has been restarted)

See Also:
Serialized Form

Constructor Summary
JSessionHandle(javax.ejb.EJBObject jb)
          constructor
 
Method Summary
 javax.ejb.EJBObject getEJBObject()
          Obtains the EJB object represented by this handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSessionHandle

public JSessionHandle(javax.ejb.EJBObject jb)
constructor
Method Detail

getEJBObject

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