|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.system.ListenerServiceMBeanSupport org.jboss.monitor.services.ActiveAlarmTable
ActiveAlarmTable
Nested Class Summary |
Nested classes inherited from class org.jboss.system.ListenerServiceMBeanSupport |
org.jboss.system.ListenerServiceMBeanSupport.SubscriptionInfo |
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ListenerServiceMBean |
SL_MBEAN_ELEMENT, SL_MBEAN_HANDBACK_ATTRIBUTE, SL_MBEAN_NAME_ATTRIBUTE, SL_NOTIFICATION_ELEMENT, SL_NOTIFICATION_TYPE_ATTRIBUTE, SL_ROOT_ELEMENT |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
ActiveAlarmTable()
CTOR |
Method Summary | |
boolean |
acknowledge(String serverId,
String source,
String type,
String user,
String system)
Acknowledge an Alarm |
int |
acknowledgeAll(String user,
String system)
Acknowledge all |
AlarmTableNotification[] |
fetchAlarmTable()
Gets the ActiveAlarmTable |
String |
fetchAlarmTableAsHtml()
Gets the ActiveAlarmTable as Html |
long |
getNotificationsProcessed()
Number of notifications received. |
String |
getServerId()
Gets the serverId |
void |
handleNotification2(javax.management.Notification notification,
Object handback)
Overriden to add handling! |
void |
setServerId(String serverId)
Sets the serverId to use in the produced AlarmTableNotifications |
void |
startService()
Start |
void |
stopService()
Stop |
boolean |
unacknowledge(String serverId,
String source,
String type,
String user,
String system)
Unacknowledge an Alarm |
int |
unacknowledgeAll(String user,
String system)
Uncknowledge all |
Methods inherited from class org.jboss.system.ListenerServiceMBeanSupport |
handleNotification, setSubscriptionList, subscribe, subscribe, subscribe, unsubscribe |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ListenerServiceMBean |
setSubscriptionList |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Constructor Detail |
public ActiveAlarmTable()
Method Detail |
public long getNotificationsProcessed()
getNotificationsProcessed
in interface ActiveAlarmTableMBean
public void setServerId(String serverId)
setServerId
in interface ActiveAlarmTableMBean
public String getServerId()
getServerId
in interface ActiveAlarmTableMBean
public int acknowledgeAll(String user, String system)
acknowledgeAll
in interface ActiveAlarmTableMBean
public int unacknowledgeAll(String user, String system)
unacknowledgeAll
in interface ActiveAlarmTableMBean
public boolean acknowledge(String serverId, String source, String type, String user, String system)
acknowledge
in interface ActiveAlarmTableMBean
public boolean unacknowledge(String serverId, String source, String type, String user, String system)
unacknowledge
in interface ActiveAlarmTableMBean
public AlarmTableNotification[] fetchAlarmTable()
fetchAlarmTable
in interface ActiveAlarmTableMBean
public String fetchAlarmTableAsHtml()
fetchAlarmTableAsHtml
in interface ActiveAlarmTableMBean
public void startService() throws Exception
Exception
public void stopService() throws Exception
Exception
public void handleNotification2(javax.management.Notification notification, Object handback)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |