org.objectweb.easybeans.container.svc
Class EasyBeansHandle

java.lang.Object
  extended by org.objectweb.easybeans.container.svc.EasyBeansHandle
All Implemented Interfaces:
java.io.Serializable, Handle

public class EasyBeansHandle
extends java.lang.Object
implements Handle

Handle object of an EJB. This object allows to get the EJB Object. It uses the HandleDelegate APi for managing its own serialization.

Author:
Florent Benoit.
See Also:
Serialized Form

Field Summary
private  EJBObject ejbObject
          EJB Object proxy (that is serializable).
private static long serialVersionUID
          UId used for the serialization.
 
Constructor Summary
EasyBeansHandle(EJBObject ejbObject)
          Build an handle for an EJBObject.
 
Method Summary
 EJBObject getEJBObject()
          Obtain the EJB object reference represented by this handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
UId used for the serialization.

See Also:
Constant Field Values

ejbObject

private EJBObject ejbObject
EJB Object proxy (that is serializable).

Constructor Detail

EasyBeansHandle

public EasyBeansHandle(EJBObject ejbObject)
Build an handle for an EJBObject.

Parameters:
ejbObject - the given EJBObject proxy.
Method Detail

getEJBObject

public EJBObject getEJBObject()
Obtain the EJB object reference represented by this handle.

Specified by:
getEJBObject in interface Handle
Returns:
the EJB object reference represented by this handle.