public class CorbaManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addAoFactoryToNameService(org.omg.CORBA.Object aofObj,
DistributorProperties properties)
Adds the aofactory object to the name server context.
|
void |
addControlServerToNameservice(org.omg.CORBA.Object aofObj,
DistributorProperties properties)
Adds the Avalon Controlserver object to corba name service.
|
void |
addDistributorToNameservice(org.omg.CORBA.Object dfObj,
DistributorProperties properties)
Add the Avalon Distributor factory object to the corba name service.
|
org.omg.CosNaming.NameComponent[] |
bindAoFactory(org.omg.CosNaming.NameComponent[] path,
org.omg.CORBA.Object aofRef)
Check the object in the name service context if the object is a valid
AoFactory object, the there is an implementation of avalon running at the
moment with the same name and the service will not start.
|
java.lang.String |
getCorbaImplementationName()
Returns the name of the corba implemantation.
|
org.omg.CORBA.ORB |
getOrb() |
java.lang.String |
getOrbClassName()
Returns the name of the orb class.
|
void |
init(java.lang.String[] orbArgs,
java.lang.String[] rudundantOrbArgs,
java.util.Properties props,
java.lang.String nameServiceName) |
com.highqsoft.avalon.AvalonDistributorFactory |
retrieveRedundantDistributorFactory()
Retrievs the redundant Avalon Distributor factory object from corba nameservice.
|
void |
runOrb() |
void |
scheduleStop() |
void |
shutdownOrb() |
void |
unbindRedundantDistributorFactory()
Performs an unbind of redundant distributor factory
|
void |
unbindServices()
Unbinds the objects from corba name service
|
public void init(java.lang.String[] orbArgs, java.lang.String[] rudundantOrbArgs, java.util.Properties props, java.lang.String nameServiceName) throws com.highqsoft.avalon.AvalonException
com.highqsoft.avalon.AvalonException
public org.omg.CosNaming.NameComponent[] bindAoFactory(org.omg.CosNaming.NameComponent[] path, org.omg.CORBA.Object aofRef) throws com.highqsoft.avalon.AvalonException
path
- path of the object to bind.aofRef
- the object to bind.com.highqsoft.avalon.AvalonException
public void addAoFactoryToNameService(org.omg.CORBA.Object aofObj, DistributorProperties properties) throws com.highqsoft.avalon.AvalonException
aofObj
- Object, which should be publishedproperties
- Propertiescom.highqsoft.avalon.AvalonException
public void addControlServerToNameservice(org.omg.CORBA.Object aofObj, DistributorProperties properties) throws com.highqsoft.avalon.AvalonException
com.highqsoft.avalon.AvalonException
public void addDistributorToNameservice(org.omg.CORBA.Object dfObj, DistributorProperties properties) throws com.highqsoft.avalon.AvalonException
com.highqsoft.avalon.AvalonException
public java.lang.String getCorbaImplementationName()
public java.lang.String getOrbClassName()
public org.omg.CORBA.ORB getOrb()
public void runOrb()
public void shutdownOrb()
public void scheduleStop()
public void unbindServices()
public com.highqsoft.avalon.AvalonDistributorFactory retrieveRedundantDistributorFactory() throws com.highqsoft.avalon.AvalonException
com.highqsoft.avalon.AvalonException
public void unbindRedundantDistributorFactory()