public abstract class OA extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_defaultAdapterName |
protected String |
_oaName |
protected Hashtable |
_postOAInitProperty |
protected Hashtable |
_postOAShutdown |
protected Hashtable |
_preOAInitProperty |
protected Hashtable |
_preOAShutdown |
Modifier and Type | Method and Description |
---|---|
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) |
protected String _defaultAdapterName
protected String _oaName
protected Hashtable _preOAShutdown
protected Hashtable _postOAShutdown
protected Hashtable _preOAInitProperty
protected Hashtable _postOAInitProperty
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
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 void addPreShutdown(PreShutdown c)
public void addPostShutdown(PostShutdown c)
public abstract Object corbaReference(Servant obj)
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
Copyright © 2013. All Rights Reserved.