Package com.arjuna.orbportability
Class ChildOA
java.lang.Object
com.arjuna.orbportability.OA
com.arjuna.orbportability.ChildOA
A class which represents a child OA
- Author:
- Richard Begg (richard_begg@hp.com)
-
Field Summary
Fields inherited from class com.arjuna.orbportability.OA
_defaultAdapterName, _oaName, _postOAInitProperty, _postOAShutdown, _preOAInitProperty, _preOAShutdown
-
Method Summary
Modifier and TypeMethodDescriptionorg.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 classboolean
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
-
Method Details
-
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 classOA
- 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 classOA
- Throws:
org.omg.CORBA.SystemException
-
objectIsReady
public boolean objectIsReady(org.omg.PortableServer.Servant obj) throws org.omg.CORBA.SystemException - Specified by:
objectIsReady
in classOA
- 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 classOA
-
shutdownObject
public boolean shutdownObject(org.omg.PortableServer.Servant obj) - Specified by:
shutdownObject
in classOA
-
destroy
public void destroy() throws org.omg.CORBA.SystemException
-