Public Member Functions | |
ComponentClient (Logger logger, String managerLoc, String clientName) throws Exception | |
void | initRemoteLogging () |
ContainerServices | getContainerServices () |
void | tearDown () throws Exception |
Protected Member Functions | |
ComponentClient (Logger logger, String managerLoc, String clientName, AcsCorba externalAcsCorba) throws Exception | |
Protected Attributes | |
final AcsLogger | m_logger |
Package Attributes | |
final String | m_clientName |
AcsManagerProxy | m_acsManagerProxy |
final AcsCorba | acsCorba |
final boolean | ownAcsCorba |
Private Member Functions | |
void | initAcs (String managerLoc, POA rootPOA) throws Exception |
Private Attributes | |
ContainerServicesImpl | m_containerServices |
CleaningDaemonThreadFactory | m_threadFactory |
Client | m_managerClient |
Note that this class is only meant to be used within a stand-alone application that needs to communicate with ACS-based components. It is definitely not meant to be used by a component running inside an ACS container.
|
Normal constructor. The component client will take care of creating ORB and POAs, and of setting up remote logging.
|
|
Special c'tor that provides an already initialized instance of With this constructor, also initialization and termination of remote ACS logging is left to the caller.
|
|
Gives access to the ContainerServices interface. This class plays the part of the role of the Java container that has to do with providing explicit services to the component, or test case respectively.
|
|
|
|
Sets up the client logger(s) to send log records to the remote log service. This method starts a separate thread and returns immediately. Makes repeated attempts to connect to the remote logger. If they fail unexpectedly, remote logging will be disabled.
If the Override this method to prevent remote logging (useful only if AcsCorba is is not provided externally). |
|
Must be called by the application that uses this class, when it is done using ACS components. At the latest it should be called when the application itself terminates.
Releases all previously obtained components (using manager), and logs out from the manager. It also stops remote logging and terminates the CORBA ORB unless an |
|
The instance of AcsCorba to be used by this class for all CORBA activities. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|