|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.monitor.alarm.AlarmManager
AlarmManager
Field Summary | |
protected MBeanImplAccess |
mbeanImpl
|
Constructor Summary | |
AlarmManager(MBeanImplAccess mbeanImpl)
CTOR |
Method Summary | |
int |
getSeverity(String type)
Gets the severity of an alarm, keyed by its type. |
String |
getSeverityAsString(String type)
Gets the severity of an alarm, keyed by its type, as String |
void |
sendAlarmNotification(String type,
int alarmState,
int severity,
String message,
Object userData)
Generates and sends an AlarmNotification. |
void |
sendAlarmNotification(String type,
int alarmState,
int severity,
String message,
String key,
Object value)
Generates and sends an AlarmNotification Essentially a helper method that will populate the userData field of the Notification with a HashMap, containing a single key/value pair. |
void |
sendAttributeChangeNotification(String type,
String message,
Object userData,
String attributeName,
String attributeType,
Object oldValue,
Object newValue)
Generates and sends an AttributeChangeNotification. |
void |
sendNotification(String type,
String message,
Object userData)
Generates and sends a simple Notification. |
void |
setAlarm(String type,
int severity,
String message,
Object userData)
Sets the alarm, keyed by its type, to a particular state. |
void |
setAlarm(String type,
int severity,
String message,
String key,
Object value)
See set Alarm above Essentially a helper method that will populate the userData field of the Notification with a HashMap, containing a single key/value pair. |
void |
setSeverity(String type,
int severity)
Sets the severity of an Alarm, keyed by its type, without producing an AlarmNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected MBeanImplAccess mbeanImpl
Constructor Detail |
public AlarmManager(MBeanImplAccess mbeanImpl)
Method Detail |
public void setSeverity(String type, int severity)
public int getSeverity(String type)
public String getSeverityAsString(String type)
public void setAlarm(String type, int severity, String message, Object userData)
public void setAlarm(String type, int severity, String message, String key, Object value)
public void sendAlarmNotification(String type, int alarmState, int severity, String message, String key, Object value)
public void sendAlarmNotification(String type, int alarmState, int severity, String message, Object userData)
public void sendAttributeChangeNotification(String type, String message, Object userData, String attributeName, String attributeType, Object oldValue, Object newValue)
public void sendNotification(String type, String message, Object userData)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |