public class AdvancedComponentClient extends ComponentClient
ComponentClient, which gives more power to specialized applications such as the OMC Gui ("Exec").
Using some of these methods can be dangerous to the stability of the entire system.
If you find that your application needs to use AdvancedComponentClient instead of ComponentClient,
better check with the ACS team if there really is no other way.
m_logger, m_shutdownHook| Constructor and Description |
|---|
AdvancedComponentClient(java.util.logging.Logger logger,
java.lang.String managerLoc,
java.lang.String clientName) |
AdvancedComponentClient(java.util.logging.Logger logger,
java.lang.String managerLoc,
java.lang.String clientName,
AcsCorba externalAcsCorba)
This ctor's implementation comes already from the base class for practical reasons, but there it is not public.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerServices |
createContainerServices(java.lang.String clientName,
java.util.logging.Logger csLogger)
Factory method for additional container service instances.
|
void |
destroyContainerServices(ContainerServices cs)
"un-factory" method which inverts
createContainerServices(String, Logger). |
AcsCorba |
getAcsCorba()
Gives direct access to the CORBA ORB, POAs etc, encapsulated by the AcsCorba object.
|
AcsManagerProxy |
getAcsManagerProxy()
Gives direct access to the ACS manager, encapsulated by the AcsManagerProxy object.
|
getContainerServices, initAlarmSystem, initRemoteLogging, registerShutdownHook, tearDown, tearDownAlarmSystempublic AdvancedComponentClient(java.util.logging.Logger logger,
java.lang.String managerLoc,
java.lang.String clientName)
throws java.lang.Exception
java.lang.Exceptionpublic AdvancedComponentClient(java.util.logging.Logger logger,
java.lang.String managerLoc,
java.lang.String clientName,
AcsCorba externalAcsCorba)
throws java.lang.Exception
java.lang.Exceptionpublic ContainerServices createContainerServices(java.lang.String clientName, java.util.logging.Logger csLogger) throws AcsJContainerServicesEx
Make sure to call destroyContainerServices(ContainerServices) when done with the new CS.
clientName - name for ContainerServicesBase.getName()csLogger - logger to be used internally by the new ContainerServices instance (which is different from the Logger
returned in ContainerServicesBase.getLogger()).
Since ACS 8.0 it is recommended to supply an AcsLogger instead of a plain JDK Logger because a
plain Logger will have to be wrapped inside this method.AcsJContainerServicesExpublic void destroyContainerServices(ContainerServices cs) throws AcsJContainerServicesEx
createContainerServices(String, Logger).cs - ContainerServices instance created by createContainerServices(String, Logger).AcsJContainerServicesExpublic AcsCorba getAcsCorba()
public AcsManagerProxy getAcsManagerProxy()