public class AlarmSystemAdvancedContainerServices extends java.lang.Object implements AdvancedContainerServices
| Constructor and Description |
|---|
AlarmSystemAdvancedContainerServices(AlarmSystemContainerServices alSysContSvcs) |
| Modifier and Type | Method and Description |
|---|---|
void |
connectManagerAdmin(AdministratorOperations adminOp,
boolean retryConnectOnFailure)
Allows to connect a manager admin object to the manager, to receive notifications etc.
|
org.omg.CORBA.Object |
corbaObjectFromString(java.lang.String strObjRef)
Encapsulates
ORB.string_to_object(String). |
java.lang.String |
corbaObjectToString(org.omg.CORBA.Object objRef)
Encapsulates
ORB.object_to_string(org.omg.CORBA.Object). |
void |
disconnectManagerAdmin(AdministratorOperations adminOp)
Releases a previously connected manager admin object.
|
org.omg.CORBA.Any |
getAny()
Returns a reference to a new CORBA Any.
|
org.omg.CORBA.ORB |
getORB()
Provides explicit access to the normally invisible ORB, for components that fulfill infrastructural tasks.
|
public AlarmSystemAdvancedContainerServices(AlarmSystemContainerServices alSysContSvcs)
public org.omg.CORBA.Object corbaObjectFromString(java.lang.String strObjRef)
AdvancedContainerServicesORB.string_to_object(String).corbaObjectFromString in interface AdvancedContainerServicespublic java.lang.String corbaObjectToString(org.omg.CORBA.Object objRef)
AdvancedContainerServicesORB.object_to_string(org.omg.CORBA.Object).corbaObjectToString in interface AdvancedContainerServicesobjRef - the corba stubobjRef.public org.omg.CORBA.Any getAny()
AdvancedContainerServices
The notification channel module provides a convenience class for dealing with CORBA Anys,
see AnyAide.
getAny in interface AdvancedContainerServicespublic org.omg.CORBA.ORB getORB()
AdvancedContainerServicesNormal subsystem components must not use this method! If they feel they should get access to the ORB, either ACS is missing a feature which should be reported, or there is a misunderstanding in how to develop software for Alma.
getORB in interface AdvancedContainerServicespublic void disconnectManagerAdmin(AdministratorOperations adminOp)
AdvancedContainerServicesdisconnectManagerAdmin in interface AdvancedContainerServicespublic void connectManagerAdmin(AdministratorOperations adminOp,
boolean retryConnectOnFailure)
throws AcsJContainerEx
AdvancedContainerServices
In the current implementation every call to this method establishes a new connection to the manager.
Should a client ever need to call this method more than once, it must also call
#disconnectManagerAdmin(String) for each of its admin objects.
This method accepts and distinguishes AdministratorOperations objects
and the subtyped SynchronousAdministratorOperations objects.
connectManagerAdmin in interface AdvancedContainerServicesadminOp - callback objectretryConnectOnFailure - retry if the manager is not available or the connection failed.AcsJContainerEx