org.objectweb.jonas_ejb.svc
Class JHomeHandleIIOP

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

public class JHomeHandleIIOP
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
JHomeHandleIIOP(javax.ejb.EJBHome h, java.lang.ClassLoader cl)
          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

JHomeHandleIIOP

public JHomeHandleIIOP(javax.ejb.EJBHome h,
                       java.lang.ClassLoader cl)
constructor

Parameters:
h - EJBHome
cl - classloader used for EJB
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.