org.objectweb.jonas_ejb.svc
Class JHandleIIOP

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

public class JHandleIIOP
extends java.lang.Object
implements javax.ejb.Handle, java.io.Serializable

This class implements javax.ejb.Handle interface.

Author:
Philippe Coq
See Also:
Serialized Form

Constructor Summary
JHandleIIOP(java.rmi.Remote r)
          constructor
 
Method Summary
 javax.ejb.EJBObject getEJBObject()
          Obtains the EJB 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

JHandleIIOP

public JHandleIIOP(java.rmi.Remote r)
constructor

Parameters:
r - remote ref
Method Detail

getEJBObject

public javax.ejb.EJBObject getEJBObject()
                                 throws java.rmi.RemoteException
Obtains the EJB object represented by this handle.

Specified by:
getEJBObject in interface javax.ejb.Handle
Returns:
The EJB object
Throws:
java.rmi.RemoteException - The EJB object could not be obtained because of a system-level failure.