alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices Class Reference

Inheritance diagram for alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices:
Inheritance graph
[legend]
Collaboration diagram for alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices:
Collaboration graph
[legend]

List of all members.

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

Private Attributes

final AcsLogger logger
final AlarmSystemContainerServices alSysContSvcs

Constructor & Destructor Documentation

alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices::AlarmSystemAdvancedContainerServices ( AlarmSystemContainerServices  alSysContSvcs  )  [inline]

Member Function Documentation

void alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices::connectManagerAdmin ( AdministratorOperations  adminOp,
boolean  retryConnectOnFailure 
) throws AcsJContainerEx [inline]

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.

Parameters:
adminOp callback object
retryConnectOnFailure retry if the manager is not available or the connection failed.
Exceptions:
AcsJContainerEx 
Since:
ACS 7.0

Implements alma::acs::container::AdvancedContainerServices.

org.omg.CORBA.Object alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices::corbaObjectFromString ( String  strObjRef  )  [inline]
String alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices::corbaObjectToString ( org.omg.CORBA.Object  objRef  )  [inline]

Encapsulates org.omg.CORBA.ORB#object_to_string(org.omg.CORBA.Object).

Parameters:
objRef the corba stub
Returns:
standardized string representation of objRef.

Implements alma::acs::container::AdvancedContainerServices.

References getORB(), and logger.

void alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices::disconnectManagerAdmin ( AdministratorOperations  adminOp  )  [inline]

Releases a previously connected manager admin object. This call is ignored if the given object is not connected.

Parameters:
componentUrl 

Implements alma::acs::container::AdvancedContainerServices.

Any alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices::getAny (  )  [inline]

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.

Returns:
org.omg.CORBA.Any

Implements alma::acs::container::AdvancedContainerServices.

References getORB(), and logger.

ORB alma::alarmsystem::corbaservice::AlarmSystemAdvancedContainerServices::getORB (  )  [inline]

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.

Returns:
the ORB that connects the container and its components with other processes.

Implements alma::acs::container::AdvancedContainerServices.

References alSysContSvcs, and alma::alarmsystem::corbaservice::AlarmSystemContainerServices::getOrb().

Referenced by corbaObjectToString(), and getAny().


Member Data Documentation

Referenced by corbaObjectFromString(), and getORB().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2