org.ow2.jonas.lib.svc
Class JHomeHandleIIOP
java.lang.Object
org.ow2.jonas.lib.svc.JHomeHandleIIOP
- All Implemented Interfaces:
- Serializable, HomeHandle
public class JHomeHandleIIOP
- extends Object
- implements HomeHandle, 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
Method Summary |
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 |
JHomeHandleIIOP
public JHomeHandleIIOP(EJBHome h,
ClassLoader cl)
- constructor.
- Parameters:
h
- EJBHomecl
- classloader used for EJB
getEJBHome
public EJBHome getEJBHome()
throws RemoteException
- Obtains the home object represented by this handle.
- Specified by:
getEJBHome
in interface HomeHandle
- Returns:
- The EJBHome object
- Throws:
RemoteException
- The home object could not be obtained because of
a system-level failure.
Copyright © 2010 OW2 Consortium. All Rights Reserved.