org.objectweb.jonas_ejb.container
Class JHomeHandle

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

public class JHomeHandle
extends java.lang.Object
implements javax.ejb.HomeHandle, java.io.Serializable

This class implements javax.ejb.HomeHandle interface. A handle is an abstraction of a network reference to a home object. A handle is intended to be used as a "robust" persistent reference to a home object.

Author:
Philippe Durieux, Philippe Coq
See Also:
Serialized Form

Constructor Summary
JHomeHandle(java.lang.String hname, java.util.Hashtable jndi)
          constructor
 
Method Summary
 javax.ejb.EJBHome getEJBHome()
          Obtains 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
 

Constructor Detail

JHomeHandle

public JHomeHandle(java.lang.String hname,
                   java.util.Hashtable jndi)
constructor
Parameters:
hname - JNDI name of the Home
jndi - set of JNDI properties that will be used to retrive the Home
Method Detail

getEJBHome

public javax.ejb.EJBHome getEJBHome()
                             throws java.rmi.RemoteException
Obtains the home object represented by this handle.
Specified by:
getEJBHome in interface javax.ejb.HomeHandle
Throws:
RemoteException: - The home object could not be obtained because of a system-level failure.