
Static Public Member Functions | |
| static synchronized CERNAlarmService | getInstance () throws Exception |
| static synchronized CERNAlarmService | getInstance (ContainerServicesBase contSvc) throws Exception |
Static Private Attributes | |
| static CERNAlarmService | instance = null |
| static ComponentClient | client |
| static ContainerServicesBase | contSvcBase = null |
| static CernAlarmServiceUtils | alarmUtils = null |
Singleton class to connect to and supply the AlarmService.
| static synchronized CERNAlarmService cern::laser::client::impl::common::AlarmServiceSingleton::getInstance | ( | ContainerServicesBase | contSvc | ) | throws Exception [inline, static] |
| static synchronized CERNAlarmService cern::laser::client::impl::common::AlarmServiceSingleton::getInstance | ( | ) | throws Exception [inline, static] |
Get an instance of the alarm service
This class instantiates a component client to get the Container Services out of it.
| ExceptionIn | case of error getting the alarm service |
References alarmUtils, client, contSvcBase, alma::alarmsystem::corbaservice::CernAlarmServiceUtils::getCernAlarmService(), alma::acs::component::client::ComponentClient::getContainerServices(), and instance.
CernAlarmServiceUtils cern::laser::client::impl::common::AlarmServiceSingleton::alarmUtils = null [static, private] |
The alarm service utils
Referenced by getInstance().
Referenced by getInstance().
ContainerServicesBase cern::laser::client::impl::common::AlarmServiceSingleton::contSvcBase = null [static, private] |
Referenced by getInstance().
CERNAlarmService cern::laser::client::impl::common::AlarmServiceSingleton::instance = null [static, private] |
Referenced by getInstance().
1.6.2