org.ow2.jonas.lib.ejb21
Class JSessionHandle
java.lang.Object
org.ow2.jonas.lib.ejb21.JSessionHandle
- All Implemented Interfaces:
- Serializable, Handle
public class JSessionHandle
- extends Object
- implements Handle, 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 JOnAS
Server life time. (no need to retrieve it after the JOnAS Server has been
restarted)
- Author:
- Philippe Coq
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSessionHandle
public JSessionHandle(EJBObject jb)
- constructor
- Parameters:
jb
- the EJBObject represented by this handle.
getEJBObject
public EJBObject getEJBObject()
throws RemoteException
- Specified by:
getEJBObject
in interface Handle
- Returns:
- the EJBObject represented by this handle.
- Throws:
RemoteException
- e The EJB object could not be obtained because of
a system-level failure.
Copyright © 2010 OW2 Consortium. All Rights Reserved.