Public Member Functions | |
AlarmSystemAdvancedContainerServices (AlarmSystemContainerServices alSysContSvcs) | |
org.omg.CORBA.Object | corbaObjectFromString (String strObjRef) |
String | corbaObjectToString (org.omg.CORBA.Object objRef) |
Any | getAny () |
ORB | getORB () |
void | disconnectManagerAdmin (AdministratorOperations adminOp) |
void | connectManagerAdmin (AdministratorOperations adminOp, boolean retryConnectOnFailure) throws AcsJContainerEx |
alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.AlarmSystemAdvancedContainerServices | ( | AlarmSystemContainerServices | alSysContSvcs | ) |
void alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.connectManagerAdmin | ( | AdministratorOperations | adminOp, | |
boolean | retryConnectOnFailure | |||
) | throws AcsJContainerEx |
Allows to connect a manager admin object to the manager, to receive notifications etc.
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.
adminOp | callback object | |
retryConnectOnFailure | retry if the manager is not available or the connection failed. |
AcsJContainerEx |
Implements alma.acs.container.AdvancedContainerServices.
org.omg.CORBA.Object alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.corbaObjectFromString | ( | String | strObjRef | ) |
Encapsulates org.omg.CORBA.ORB#string_to_object(String).
strObjRef |
Implements alma.acs.container.AdvancedContainerServices.
References alma.alarmsystem.corbaservice.AlarmSystemContainerServices.getOrb().
String alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.corbaObjectToString | ( | org.omg.CORBA.Object | objRef | ) |
Encapsulates org.omg.CORBA.ORB#object_to_string(org.omg.CORBA.Object).
objRef | the corba stub |
objRef
. Implements alma.acs.container.AdvancedContainerServices.
References alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getORB().
void alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.disconnectManagerAdmin | ( | AdministratorOperations | adminOp | ) |
Releases a previously connected manager admin object. This call is ignored if the given object is not connected.
componentUrl |
Implements alma.acs.container.AdvancedContainerServices.
Any alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getAny | ( | ) |
Returns a reference to a new CORBA Any. Int Java the only way to do this is through the ORB itself (i.e., the create_any method).
The notification channel module provides a convenience class for dealing with CORBA Anys, see alma.acs.nc.AnyAide.
Implements alma.acs.container.AdvancedContainerServices.
References alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getORB().
ORB alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getORB | ( | ) |
Provides explicit access to the normally invisible ORB, for components that fulfill infrastructural tasks.
Normal 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.
Implements alma.acs.container.AdvancedContainerServices.
References alma.alarmsystem.corbaservice.AlarmSystemContainerServices.getOrb().
Referenced by alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.corbaObjectToString(), and alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getAny().