|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.management.Notification
org.jboss.monitor.alarm.AlarmNotification
public class AlarmNotification
AlarmNotification
| Field Summary |
|---|
| Fields inherited from class javax.management.Notification |
|---|
source |
| Constructor Summary | |
|---|---|
AlarmNotification(String type,
Object source,
javax.management.ObjectName target,
int severity,
int alarmState,
long sequenceNumber,
long timeStamp,
String message)
Complete CTOR, creates an AlarmNotification object Note: STATE_CLEARED forces severity to SEVERITY_NORMAL STATE_CREATED/CHANGED have valid severities WARNING to UNKNOWN STATE_NONE has valid severities NORMAL to UNKNOWN Also: Out-of-range states are mapped to STATE_NONE Out-of-range severities are mapped to SEVERITY_UNKNOWN |
|
| Method Summary | |
|---|---|
static Object |
createKey(javax.management.Notification n)
Returns a key that can be used in AlarmTables (maps) |
int |
getAlarmState()
Gets alarm state |
static Object |
getEffectiveSource(javax.management.Notification n)
Returns the effective source for the notification. |
int |
getSeverity()
Gets alarm severity |
javax.management.ObjectName |
getTarget()
Gets the target MBean name, when the alarm is produced by 'source' on behalf of the 'target', or null. |
String |
toString()
toString() |
| Methods inherited from class javax.management.Notification |
|---|
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AlarmNotification(String type,
Object source,
javax.management.ObjectName target,
int severity,
int alarmState,
long sequenceNumber,
long timeStamp,
String message)
| Method Detail |
|---|
public static Object createKey(javax.management.Notification n)
public static Object getEffectiveSource(javax.management.Notification n)
public javax.management.ObjectName getTarget()
public int getSeverity()
public int getAlarmState()
public String toString()
toString in class javax.management.Notification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||