org.ow2.jonas.lib.svc
Class JHandleIIOP

java.lang.Object
  extended by org.ow2.jonas.lib.svc.JHandleIIOP
All Implemented Interfaces:
Serializable, Handle

public class JHandleIIOP
extends Object
implements Handle, Serializable

This class implements javax.ejb.Handle interface.

Author:
Philippe Coq
See Also:
Serialized Form

Constructor Summary
JHandleIIOP(Remote r)
          constructor.
 
Method Summary
 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(Remote r)
constructor.

Parameters:
r - remote ref
Method Detail

getEJBObject

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

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.