org.jboss.monitor.alerts
Class ConsoleAlertListener
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.monitor.alerts.JBossAlertListener
org.jboss.monitor.alerts.ConsoleAlertListener
- All Implemented Interfaces:
- EventListener, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, NotificationListener, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ConsoleAlertListenerMBean, JBossAlertListenerMBean, Service, ServiceMBean
public class ConsoleAlertListener
- extends JBossAlertListener
- implements ConsoleAlertListenerMBean
Comment
- Version:
- $Revision: 81038 $
- Author:
- Bill Burke
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 |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageTemplate
protected String messageTemplate
ConsoleAlertListener
public ConsoleAlertListener()
handleNotification
public void handleNotification(Notification notification,
Object handback)
- Specified by:
handleNotification
in interface NotificationListener
getMessageTemplate
public String getMessageTemplate()
- Specified by:
getMessageTemplate
in interface ConsoleAlertListenerMBean
setMessageTemplate
public void setMessageTemplate(String messageTemplate)
- Specified by:
setMessageTemplate
in interface ConsoleAlertListenerMBean
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.