org.objectweb.easybeans.container.svc
Class EasyBeansHomeHandle

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

public class EasyBeansHomeHandle
extends java.lang.Object
implements HomeHandle

This class is used by the EJB 2.1 clients in order to get the Home Handle to the EJB.

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
private  EJBHome ejbHome
          Proxy object acting as the EJBHome.
private static long serialVersionUID
          UID used for the serialization.
 
Constructor Summary
EasyBeansHomeHandle(EJBHome ejbHome)
          Build a HomeHandle based on the given ejbHome.
 
Method Summary
 EJBHome getEJBHome()
          Obtain the home object 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

ejbHome

private EJBHome ejbHome
Proxy object acting as the EJBHome.

Constructor Detail

EasyBeansHomeHandle

public EasyBeansHomeHandle(EJBHome ejbHome)
Build a HomeHandle based on the given ejbHome. The home is serializable (proxy) so it can be stored directly.

Parameters:
ejbHome - the ejb home proxy.
Method Detail

getEJBHome

public EJBHome getEJBHome()
Obtain the home object represented by this handle.

Specified by:
getEJBHome in interface HomeHandle
Returns:
the home object represented by this handle.