org.jboss.logbridge
Class LogNotificationListener

java.lang.Object
  extended by org.jboss.logbridge.LogNotificationListener
All Implemented Interfaces:
java.util.EventListener, javax.management.NotificationListener

public final class LogNotificationListener
extends java.lang.Object
implements javax.management.NotificationListener


Constructor Summary
LogNotificationListener()
           
 
Method Summary
 LogBridgeHandler getLogBridgeHandler()
           
 java.lang.String getLoggingMBeanName()
           
 javax.management.MBeanServer getMBeanServer()
           
 void handleNotification(javax.management.Notification notification, java.lang.Object handback)
           
 void setLogBridgeHandler(LogBridgeHandler logBridgeHandler)
           
 void setLoggingMBeanName(java.lang.String loggingMBeanName)
           
 void setMBeanServer(javax.management.MBeanServer mBeanServer)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogNotificationListener

public LogNotificationListener()
Method Detail

getLogBridgeHandler

public LogBridgeHandler getLogBridgeHandler()

setLogBridgeHandler

public void setLogBridgeHandler(LogBridgeHandler logBridgeHandler)

getMBeanServer

public javax.management.MBeanServer getMBeanServer()

setMBeanServer

public void setMBeanServer(javax.management.MBeanServer mBeanServer)

getLoggingMBeanName

public java.lang.String getLoggingMBeanName()

setLoggingMBeanName

public void setLoggingMBeanName(java.lang.String loggingMBeanName)
                         throws javax.management.MalformedObjectNameException
Throws:
javax.management.MalformedObjectNameException

handleNotification

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

start

public void start()
           throws javax.management.InstanceNotFoundException
Throws:
javax.management.InstanceNotFoundException

stop

public void stop()
          throws javax.management.ListenerNotFoundException,
                 javax.management.InstanceNotFoundException
Throws:
javax.management.ListenerNotFoundException
javax.management.InstanceNotFoundException


Copyright © 2010. All Rights Reserved.