List of all members.
Detailed Description
ACSAlarmSystemInterfaceFactory extends the CERN AlarmSystemInterfaceFactory to create sources with different implementations depending on the actual configuration in the CDB.
The type of implementation is in AlarmSystemConfiguration.xml: a property named Implementation. CERN implementation is used only if the property is CERN. If the property is not found, is ACS or the CDB record does not exist the ACS implementation for sources is used.
- Author:
- acaproni
Member Function Documentation
static synchronized ACSFaultState alma.alarmsystem.source.ACSAlarmSystemInterfaceFactory.createFaultState |
( |
|
) |
throws ACSASFactoryNotInitedEx, FaultStateCreationErrorEx [static] |
static ACSFaultState alma.alarmsystem.source.ACSAlarmSystemInterfaceFactory.createFaultState |
( |
String |
family, |
|
|
String |
member, |
|
|
int |
code | |
|
) |
| | throws ACSASFactoryNotInitedEx, FaultStateCreationErrorEx [static] |
static synchronized ACSAlarmSystemInterface alma.alarmsystem.source.ACSAlarmSystemInterfaceFactory.createSource |
( |
String |
sourceName |
) |
throws ACSASFactoryNotInitedEx, SourceCreationErrorEx [static] |
Create a new instance of an alarm system interface.
- Parameters:
-
| sourceName | the source name. |
- Returns:
- the interface instance.
- Exceptions:
-
| ASIException | if the AlarmSystemInterface instance can not be created. |
static ACSAlarmSystemInterface alma.alarmsystem.source.ACSAlarmSystemInterfaceFactory.createSource |
( |
|
) |
throws ACSASFactoryNotInitedEx, SourceCreationErrorEx [static] |
Create a new instance of an alarm system interface without binding it to any source.
- Returns:
- the interface instance.
- Exceptions:
-
| ASIException | if the AlarmSystemInterface instance can not be created. |
static void alma.alarmsystem.source.ACSAlarmSystemInterfaceFactory.done |
( |
|
) |
[static] |
Cleanup the class. This method has to be called outside of the class and performs all the necessary clean up
static void alma.alarmsystem.source.ACSAlarmSystemInterfaceFactory.init |
( |
ContainerServicesBase |
containerServices |
) |
throws AcsJContainerServicesEx [static] |
static boolean alma.alarmsystem.source.ACSAlarmSystemInterfaceFactory.usingACSAlarmSystem |
( |
|
) |
throws ACSASFactoryNotInitedEx [static] |
Return the type of AS used
- Returns:
- True if ACS AS is used, false otherwise
- Exceptions:
-
| IllegalStateException | If the factory has not been initialized yet |
The documentation for this class was generated from the following file: