|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.orbportability.OA
public abstract class OA
An attempt at some ORB portable ways of interacting with the OA. NOTE: initPOA *must* be called if you want to use the pre- and post- initialisation mechanisms.
Field Summary | |
---|---|
protected String |
_defaultAdapterName
|
protected String |
_oaName
|
protected Hashtable |
_postOAInitProperty
|
protected Hashtable |
_postOAShutdown
|
protected Hashtable |
_preOAInitProperty
|
protected Hashtable |
_preOAShutdown
|
Method Summary | |
---|---|
boolean |
addAttribute(Attribute p)
|
void |
addPostShutdown(PostShutdown c)
|
void |
addPreShutdown(PreShutdown c)
|
abstract Object |
corbaReference(Servant obj)
|
Object |
corbaReference(Servant obj,
POA poa)
|
ChildOA |
createPOA(String adapterName,
Policy[] policies)
|
abstract void |
destroy()
|
ORB |
getAssociatedORB()
|
static RootOA |
getRootOA(ORB associatedORB)
Retrieve an OA instance given a unique name, if an OA instance with this name doesn't exist then create it. |
void |
init()
Ensure that all OA specific initialisation is done even if the programmer uses the OA specific init routines. |
void |
initOA()
|
void |
initOA(String[] args)
|
void |
initPOA()
|
void |
initPOA(String[] args)
|
abstract boolean |
objectIsReady(Servant obj)
|
abstract boolean |
objectIsReady(Servant obj,
byte[] id)
Register the object with the ORB. |
protected void |
performPostInit(String oaName)
Loads and runs the configured post-initialisation classes |
protected void |
performPostSet(String oaName)
|
protected void |
performPreInit(String oaName)
Loads and runs the configured pre-initialisation classes |
POA |
poa(String adapterName)
|
POA |
rootPoa()
|
void |
run()
|
void |
run(String name)
Place the server into a state where it can begin to accept requests for objects from clients. |
void |
setPOA(POA p)
|
boolean |
setPoa(String adapterName,
POA thePOA)
|
abstract boolean |
shutdownObject(Object obj)
Dispose of the object, i.e., unregister it from the ORB. |
abstract boolean |
shutdownObject(Servant obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String _defaultAdapterName
protected String _oaName
protected Hashtable _preOAShutdown
protected Hashtable _postOAShutdown
protected Hashtable _preOAInitProperty
protected Hashtable _postOAInitProperty
Method Detail |
---|
public void init() throws SystemException
SystemException
public void initPOA() throws InvalidName, SystemException
InvalidName
SystemException
public ORB getAssociatedORB()
public void setPOA(POA p) throws SystemException
SystemException
protected void performPreInit(String oaName)
protected void performPostSet(String oaName)
protected void performPostInit(String oaName)
public void initPOA(String[] args) throws InvalidName, SystemException
InvalidName
SystemException
public ChildOA createPOA(String adapterName, Policy[] policies) throws AdapterAlreadyExists, InvalidPolicy, AdapterInactive
AdapterAlreadyExists
InvalidPolicy
AdapterInactive
public void initOA() throws InvalidName, SystemException
InvalidName
SystemException
public void initOA(String[] args) throws InvalidName, SystemException
InvalidName
SystemException
public boolean addAttribute(Attribute p)
public abstract void destroy() throws SystemException
SystemException
public POA rootPoa()
public POA poa(String adapterName)
public boolean setPoa(String adapterName, POA thePOA)
public void addPreShutdown(PreShutdown c)
public void addPostShutdown(PostShutdown c)
public abstract Object corbaReference(Servant obj)
public Object corbaReference(Servant obj, POA poa)
public abstract boolean objectIsReady(Servant obj, byte[] id) throws SystemException
SystemException
public abstract boolean objectIsReady(Servant obj) throws SystemException
SystemException
public abstract boolean shutdownObject(Object obj)
public abstract boolean shutdownObject(Servant obj)
public void run(String name) throws SystemException
SystemException
public void run() throws SystemException
SystemException
public static RootOA getRootOA(ORB associatedORB)
associatedORB
- The ORB this OA is being created for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |