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)AlarmgetDescriptor(String alarmID)Alarm[]getDescriptors(String[] alarmIDs)booleanisActive(String alarmID)voidlogAllActiveAlarms()Log alarm information for each active alarm in the cluster.voidrebroadcastActiveAlarmNotifications()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 ManagementExceptionRebroadcast 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 ManagementExceptionLog 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:
getDescriptorin interfaceAlarmMBean- Throws:
NullPointerExceptionManagementException
-
getAlarms
String[] getAlarms(NotificationSource notificationSource) throws NullPointerException, UnrecognizedNotificationSourceException, ManagementException
- Specified by:
getAlarmsin interfaceAlarmMBean- Throws:
NullPointerExceptionUnrecognizedNotificationSourceExceptionManagementException
-
isActive
boolean isActive(String alarmID) throws NullPointerException, ManagementException
- Specified by:
isActivein interfaceAlarmMBean- Throws:
NullPointerExceptionManagementException
-
getDescriptors
Alarm[] getDescriptors(String[] alarmIDs) throws NullPointerException, ManagementException
- Specified by:
getDescriptorsin interfaceAlarmMBean- Throws:
NullPointerExceptionManagementException
-
-