org.objectweb.jonas_ejb.container
Class JHomeHandle

java.lang.Object
  extended by org.objectweb.jonas_ejb.container.JHomeHandle
All Implemented Interfaces:
java.io.Serializable, javax.ejb.HomeHandle

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)
          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)
constructor

Parameters:
hname - JNDI name of 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
Returns:
The EJBHome object
Throws:
java.rmi.RemoteException - The home object could not be obtained because of a system-level failure.