org.apache.geronimo.corba
Class CORBAHandle

java.lang.Object
  extended by org.apache.geronimo.corba.CORBAHandle
All Implemented Interfaces:
Serializable, Handle

public class CORBAHandle
extends Object
implements Handle, Serializable

EJB v2.1 spec, section 19.5.5.1

The javax.ejb.spi.HandleDelegate service provider interface defines methods that enable portable implementations of Handle and HomeHandle that are instantiated in a different vendor’s container to serialize and deserialize EJBObject and EJBHome references. The HandleDelegate interface is not used by enterprise beans or J2EE application components directly.

See Also:
Serialized Form

Constructor Summary
CORBAHandle(EJBObject ejb, Object primaryKey)
           
 
Method Summary
 EJBObject getEJBObject()
           
 Object getPrimaryKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CORBAHandle

public CORBAHandle(EJBObject ejb,
                   Object primaryKey)
Method Detail

getEJBObject

public EJBObject getEJBObject()
                       throws RemoteException
Specified by:
getEJBObject in interface Handle
Throws:
RemoteException

getPrimaryKey

public Object getPrimaryKey()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.