Public Member Functions

cl.utfsm.acs.acg.core.AcsInformation Class Reference

List of all members.

Public Member Functions

 AcsInformation (String name) throws Exception
DAL getDAL () throws AcsJContainerServicesEx
ContainerServices getContainerServices ()
Logger getLogger ()
void disconnect ()

Detailed Description

Class used to handle the connection of the application with the ACS Manager. When a new class is created, it ensures that the application is connected to the Manager. Either way, it throws an exception.

Author:
rtobar

Constructor & Destructor Documentation

cl.utfsm.acs.acg.core.AcsInformation.AcsInformation ( String  name  )  throws Exception

Member Function Documentation

void cl.utfsm.acs.acg.core.AcsInformation.disconnect (  ) 

Disconnects the application from the ACS Manager

References alma.acs.component.client.ComponentClient.tearDown().

Referenced by cl.utfsm.acs.acg.core.AlarmSystemManager.disconnectFromManager().

ContainerServices cl.utfsm.acs.acg.core.AcsInformation.getContainerServices (  ) 

Gets a reference to the ContainerServices that our ACS client has.

Returns:
A reference to the current ContainerServices

References alma.acs.component.client.ComponentClient.getContainerServices().

Referenced by cl.utfsm.acs.acg.core.AlarmSystemManager.connectToManager().

DAL cl.utfsm.acs.acg.core.AcsInformation.getDAL (  )  throws AcsJContainerServicesEx

Retrieves a reference to the DAL use by the ACS instance that we connect to.

Returns:
A reference for the DAL in use by the system
Exceptions:
AcsJContainerServicesEx If an error ocurs while trying to get the reference to the DAL

References alma.acs.container.ContainerServicesBase.getCDB(), and alma.acs.component.client.ComponentClient.getContainerServices().

Logger cl.utfsm.acs.acg.core.AcsInformation.getLogger (  ) 

Gets a reference to the Logger that our ACS client has.

Returns:
A reference to the Logger

References alma.acs.component.client.ComponentClient.getContainerServices(), and alma.acs.container.ContainerServicesBase.getLogger().


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