站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

ConsoleAlertListener (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.monitor.alerts
Class ConsoleAlertListener

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.monitor.alerts.JBossAlertListener
              extended byorg.jboss.monitor.alerts.ConsoleAlertListener
All Implemented Interfaces:
ConsoleAlertListenerMBean, EventListener, JBossAlertListenerMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, javax.management.NotificationListener, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class ConsoleAlertListener
extends JBossAlertListener
implements ConsoleAlertListenerMBean

Comment

Version:
$Revision: 1.2 $
Author:
Bill Burke

Field Summary
protected  String messageTemplate
           
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
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
ConsoleAlertListener()
           
 
Method Summary
 String getMessageTemplate()
           
 void handleNotification(javax.management.Notification notification, Object handback)
           
 void setMessageTemplate(String messageTemplate)
           
 
Methods inherited from class org.jboss.monitor.alerts.JBossAlertListener
getAlertName, setAlertName
 
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, startService, stop, stopService
 
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.monitor.alerts.JBossAlertListenerMBean
getAlertName, setAlertName
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

messageTemplate

protected String messageTemplate
Constructor Detail

ConsoleAlertListener

public ConsoleAlertListener()
Method Detail

handleNotification

public void handleNotification(javax.management.Notification notification,
                               Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener

getMessageTemplate

public String getMessageTemplate()
Specified by:
getMessageTemplate in interface ConsoleAlertListenerMBean

setMessageTemplate

public void setMessageTemplate(String messageTemplate)
Specified by:
setMessageTemplate in interface ConsoleAlertListenerMBean


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.