Interface AlarmMBean
-
- All Superinterfaces:
AlarmMBean
public interface AlarmMBean extends AlarmMBean
Rhino extensions to the JAIN SLEE 1.1 Alarm MBean interface.
-
-
Field Summary
-
Fields inherited from interface javax.slee.management.AlarmMBean
ALARM_NOTIFICATION_TYPE, OBJECT_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getAlarms(NotificationSource notificationSource)
Alarm
getDescriptor(String alarmID)
Alarm[]
getDescriptors(String[] alarmIDs)
boolean
isActive(String alarmID)
void
logAllActiveAlarms()
Log alarm information for each active alarm in the cluster.void
rebroadcastActiveAlarmNotifications()
Rebroadcast alarm notifications for each active alarm in the cluster.-
Methods inherited from interface javax.slee.management.AlarmMBean
clearAlarm, clearAlarms, clearAlarms, getAlarms
-
-
-
-
Method Detail
-
rebroadcastActiveAlarmNotifications
void rebroadcastActiveAlarmNotifications() throws ManagementException
Rebroadcast alarm notifications for each active alarm in the cluster. The notifications are all broadcast on the node this method is invoked on, which differs from normal alarm notification behaviour where alarm notifications are broadcast only on the node where their associated alarm was raised.
When using the pool clustering mode, this method will only rebroadcast active alarms on the node this method is invoked on.
- Throws:
ManagementException
-
logAllActiveAlarms
void logAllActiveAlarms() throws ManagementException
Log alarm information for each active alarm in the cluster. The alarms are all logged to the log of the node this method is invoked on.
When using the pool clustering mode, this method will only log alarm information for alarms active on the node this method is invoked on.
- Throws:
ManagementException
-
getDescriptor
Alarm getDescriptor(String alarmID) throws NullPointerException, ManagementException
- Specified by:
getDescriptor
in interfaceAlarmMBean
- Throws:
NullPointerException
ManagementException
-
getAlarms
String[] getAlarms(NotificationSource notificationSource) throws NullPointerException, UnrecognizedNotificationSourceException, ManagementException
- Specified by:
getAlarms
in interfaceAlarmMBean
- Throws:
NullPointerException
UnrecognizedNotificationSourceException
ManagementException
-
isActive
boolean isActive(String alarmID) throws NullPointerException, ManagementException
- Specified by:
isActive
in interfaceAlarmMBean
- Throws:
NullPointerException
ManagementException
-
getDescriptors
Alarm[] getDescriptors(String[] alarmIDs) throws NullPointerException, ManagementException
- Specified by:
getDescriptors
in interfaceAlarmMBean
- Throws:
NullPointerException
ManagementException
-
-