Public Member Functions | Package Functions

com.cosylab.acs.maci.manager.app.ManagerContainerServices Class Reference

Inheritance diagram for com.cosylab.acs.maci.manager.app.ManagerContainerServices:
alma.acs.container.ContainerServicesBase alma.acs.container.AdvancedContainerServices

List of all members.

Public Member Functions

 ManagerContainerServices (ORB orb, POA clientPOA, DAL dal, Logger logger)
void deactivateOffShoot (Object offshootImpl) throws AcsJContainerServicesEx
void checkOffShootPOA () throws AcsJContainerEx, AcsJUnexpectedExceptionEx
AdvancedContainerServices getAdvancedContainerServices ()
DAL getCDB ()
synchronized AcsLogger getLogger ()
String getName ()
ThreadFactory getThreadFactory ()
String corbaObjectToString (org.omg.CORBA.Object objRef)
org.omg.CORBA.Object corbaObjectFromString (String strObjRef)
org.omg.CORBA.Any getAny ()
ORB getORB ()
void connectManagerAdmin (AdministratorOperations adminOp, boolean retryConnectOnFailure) throws AcsJContainerEx
void disconnectManagerAdmin (AdministratorOperations adminOp)

Package Functions

public< T extends Servant
&OffShootOperations > OffShoot 
activateOffShoot (T servant) throws AcsJContainerServicesEx

Detailed Description

Author:
msekoranja

Constructor & Destructor Documentation

com.cosylab.acs.maci.manager.app.ManagerContainerServices.ManagerContainerServices ( ORB  orb,
POA  clientPOA,
DAL  dal,
Logger  logger 
)
Parameters:
orb 
dal 
logger 

Member Function Documentation

public<T extends Servant & OffShootOperations > OffShoot com.cosylab.acs.maci.manager.app.ManagerContainerServices.activateOffShoot ( T  servant  )  throws AcsJContainerServicesEx [package]
void com.cosylab.acs.maci.manager.app.ManagerContainerServices.checkOffShootPOA (  )  throws AcsJContainerEx, AcsJUnexpectedExceptionEx

Creates the shared offshoot poa on demand

Referenced by com.cosylab.acs.maci.manager.app.ManagerContainerServices.activateOffShoot().

void com.cosylab.acs.maci.manager.app.ManagerContainerServices.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.

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 com.cosylab.acs.maci.manager.app.ManagerContainerServices.corbaObjectFromString ( String  strObjRef  ) 

Encapsulates org.omg.CORBA.ORB#string_to_object(String).

Parameters:
strObjRef 
Returns:
org.omg.CORBA.Object

Implements alma.acs.container.AdvancedContainerServices.

String com.cosylab.acs.maci.manager.app.ManagerContainerServices.corbaObjectToString ( org.omg.CORBA.Object  objRef  ) 

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.

void com.cosylab.acs.maci.manager.app.ManagerContainerServices.deactivateOffShoot ( Object  offshootImpl  )  throws AcsJContainerServicesEx
void com.cosylab.acs.maci.manager.app.ManagerContainerServices.disconnectManagerAdmin ( AdministratorOperations  adminOp  ) 

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.

AdvancedContainerServices com.cosylab.acs.maci.manager.app.ManagerContainerServices.getAdvancedContainerServices (  ) 
org.omg.CORBA.Any com.cosylab.acs.maci.manager.app.ManagerContainerServices.getAny (  ) 

Returns a reference to a new CORBA Any. In Java the only way to do this is through the ORB itself (i.e., the create_any method).

Returns:
org.omg.CORBA.Any
Exceptions:
NullPointerException if the Any object could not be created.

Implements alma.acs.container.AdvancedContainerServices.

DAL com.cosylab.acs.maci.manager.app.ManagerContainerServices.getCDB (  ) 
synchronized AcsLogger com.cosylab.acs.maci.manager.app.ManagerContainerServices.getLogger (  ) 
String com.cosylab.acs.maci.manager.app.ManagerContainerServices.getName (  ) 
ORB com.cosylab.acs.maci.manager.app.ManagerContainerServices.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.

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

Implements alma.acs.container.AdvancedContainerServices.

ThreadFactory com.cosylab.acs.maci.manager.app.ManagerContainerServices.getThreadFactory (  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties