站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 iiop API Documentation 英文版文档

HandleImplIIOP (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档


org.jboss.proxy.ejb
Class HandleImplIIOP

java.lang.Object
  extended byorg.jboss.proxy.ejb.HandleImplIIOP
All Implemented Interfaces:
javax.ejb.Handle, Serializable

public class HandleImplIIOP
extends Object
implements javax.ejb.Handle, Serializable

A CORBA-based EJBObject handle implementation.

Version:
$Revision: 1.5 $
Author:
Rickard 脰berg., Jason Dillon, Francisco Reverbel
See Also:
Serialized Form

Constructor Summary
HandleImplIIOP(javax.ejb.EJBObject obj)
          Constructs an HandleImplIIOP.
HandleImplIIOP(Object obj)
          Constructs an HandleImplIIOP.
HandleImplIIOP(String ior)
          Constructs an HandleImplIIOP.
 
Method Summary
 javax.ejb.EJBObject getEJBObject()
          Obtains the EJBObject represented by this handle.
 void readObject(ObjectInputStream oistream)
           
 void writeObject(ObjectOutputStream oostream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleImplIIOP

public HandleImplIIOP(String ior)
Constructs an HandleImplIIOP.

Parameters:
ior - An stringfied CORBA reference for an EJBObject.

HandleImplIIOP

public HandleImplIIOP(javax.ejb.EJBObject obj)
Constructs an HandleImplIIOP.

Parameters:
obj - An EJBObject.

HandleImplIIOP

public HandleImplIIOP(Object obj)
Constructs an HandleImplIIOP.

Parameters:
obj - A CORBA reference for an EJBObject.
Method Detail

getEJBObject

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

Specified by:
getEJBObject in interface javax.ejb.Handle
Returns:
a reference to an EJBObject.
Throws:
RemoteException

writeObject

public void writeObject(ObjectOutputStream oostream)
                 throws IOException
Throws:
IOException

readObject

public void readObject(ObjectInputStream oistream)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.