
Public Member Functions | |
| AcsInformation (String name) throws Exception | |
| DAL | getDAL () throws AcsJContainerServicesEx |
| ContainerServices | getContainerServices () |
| Logger | getLogger () |
| void | disconnect () |
Private Attributes | |
| String | managerLoc = System.getProperty("ACS.manager") |
| ComponentClient | _client |
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.
| cl::utfsm::acs::acg::core::AcsInformation::AcsInformation | ( | String | name | ) | throws Exception [inline] |
References _client, and managerLoc.
| void cl::utfsm::acs::acg::core::AcsInformation::disconnect | ( | ) | [inline] |
Disconnects the application from the ACS Manager
References _client, and alma::acs::component::client::ComponentClient::tearDown().
Referenced by cl::utfsm::acs::acg::core::AlarmSystemManager::disconnectFromManager(), cl::utfsm::acs::acg::core::ReductionManagerTest::tearDown(), cl::utfsm::acs::acg::core::DAOManagerTest::tearDown(), cl::utfsm::acs::acg::core::AlarmManagerTest::tearDown(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImplTest::tearDown(), cl::utfsm::acs::acg::dao::ACSAlarmSystemDAOImplTest::tearDown(), cl::utfsm::acs::acg::dao::ACSAlarmDAOImplTest::tearDown(), cl::utfsm::acs::acg::core::AcsInformationTest::testDisconnect(), cl::utfsm::acs::acg::core::SourceManagerTest::testGetInstance(), cl::utfsm::acs::acg::core::CategoryManagerTest::testGetInstance(), and cl::utfsm::acs::acg::core::AcsInformationTest::testResetConnection().
| ContainerServices cl::utfsm::acs::acg::core::AcsInformation::getContainerServices | ( | ) | [inline] |
Gets a reference to the ContainerServices that our ACS client has.
References _client, and alma::acs::component::client::ComponentClient::getContainerServices().
Referenced by cl::utfsm::acs::acg::core::AlarmSystemManager::connectToManager(), cl::utfsm::acs::acg::core::ReductionManagerTest::setUp(), cl::utfsm::acs::acg::core::DAOManagerTest::setUp(), cl::utfsm::acs::acg::core::AlarmManagerTest::setUp(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImplTest::setUp(), cl::utfsm::acs::acg::dao::ACSAlarmSystemDAOImplTest::setUp(), cl::utfsm::acs::acg::dao::ACSAlarmDAOImplTest::setUp(), cl::utfsm::acs::acg::core::AcsInformationTest::testContainerServices(), cl::utfsm::acs::acg::core::SourceManagerTest::testGetInstance(), cl::utfsm::acs::acg::core::CategoryManagerTest::testGetInstance(), and cl::utfsm::acs::acg::core::AcsInformationTest::testResetConnection().
| DAL cl::utfsm::acs::acg::core::AcsInformation::getDAL | ( | ) | throws AcsJContainerServicesEx [inline] |
Retrieves a reference to the DAL use by the ACS instance that we connect to.
| AcsJContainerServicesEx | If an error ocurs while trying to get the reference to the DAL |
References _client, alma::acs::container::ContainerServicesBase::getCDB(), and alma::acs::component::client::ComponentClient::getContainerServices().
Referenced by cl::utfsm::acs::acg::core::AcsInformationTest::testResetConnection().
| Logger cl::utfsm::acs::acg::core::AcsInformation::getLogger | ( | ) | [inline] |
Gets a reference to the Logger that our ACS client has.
References _client, alma::acs::component::client::ComponentClient::getContainerServices(), and alma::acs::container::ContainerServicesBase::getLogger().
Referenced by cl::utfsm::acs::acg::core::AcsInformationTest::testResetConnection().
Referenced by AcsInformation(), disconnect(), getContainerServices(), getDAL(), and getLogger().
String cl::utfsm::acs::acg::core::AcsInformation::managerLoc = System.getProperty("ACS.manager") [private] |
Referenced by AcsInformation().
1.6.2