com.arjuna.orbportability
Class ChildOA
java.lang.Object
com.arjuna.orbportability.OA
com.arjuna.orbportability.ChildOA
- public class ChildOA
- extends OA
A class which represents a child OA
- Author:
- Richard Begg (richard_begg@hp.com)
Method Summary |
org.omg.CORBA.Object |
corbaReference(org.omg.PortableServer.Servant obj)
|
void |
destroy()
|
boolean |
objectIsReady(org.omg.PortableServer.Servant obj)
|
boolean |
objectIsReady(org.omg.PortableServer.Servant obj,
byte[] id)
Register the object with the ORB. |
boolean |
setRootPoa(org.omg.PortableServer.POA thePOA)
Set the Root POA represented by this ChildOA class |
boolean |
shutdownObject(org.omg.CORBA.Object obj)
Dispose of the object, i.e., unregister it from the ORB. |
boolean |
shutdownObject(org.omg.PortableServer.Servant obj)
|
Methods inherited from class com.arjuna.orbportability.OA |
addAttribute, addPostShutdown, addPreShutdown, corbaReference, createPOA, getAssociatedORB, getRootOA, init, initOA, initOA, initPOA, initPOA, performPostInit, performPostSet, performPreInit, poa, rootPoa, run, run, setPOA, setPoa |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setRootPoa
public boolean setRootPoa(org.omg.PortableServer.POA thePOA)
- Set the Root POA represented by this ChildOA class
- Returns:
- True - if the root POA was successfully altered
corbaReference
public org.omg.CORBA.Object corbaReference(org.omg.PortableServer.Servant obj)
- Specified by:
corbaReference
in class OA
- Returns:
- a CORBA object reference for the Servant/Implementation.
objectIsReady
public boolean objectIsReady(org.omg.PortableServer.Servant obj,
byte[] id)
throws org.omg.CORBA.SystemException
- Description copied from class:
OA
- Register the object with the ORB.
- Specified by:
objectIsReady
in class OA
- Throws:
org.omg.CORBA.SystemException
objectIsReady
public boolean objectIsReady(org.omg.PortableServer.Servant obj)
throws org.omg.CORBA.SystemException
- Specified by:
objectIsReady
in class OA
- Throws:
org.omg.CORBA.SystemException
shutdownObject
public boolean shutdownObject(org.omg.CORBA.Object obj)
- Description copied from class:
OA
- Dispose of the object, i.e., unregister it from the ORB.
- Specified by:
shutdownObject
in class OA
shutdownObject
public boolean shutdownObject(org.omg.PortableServer.Servant obj)
- Specified by:
shutdownObject
in class OA
destroy
public void destroy()
throws org.omg.CORBA.SystemException
- Specified by:
destroy
in class OA
- Throws:
org.omg.CORBA.SystemException