org.jppf.logging.jmx
Class JmxLoggerImpl

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.jppf.logging.jmx.JmxLoggerImpl
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter, JmxLogger

public class JmxLoggerImpl
extends NotificationBroadcasterSupport
implements JmxLogger

Implementation of a simple logger that sends logged messages as JMX notifications.

Author:
Laurent Cohen

Field Summary
 
Fields inherited from interface org.jppf.logging.jmx.JmxLogger
DEFAULT_MBEAN_NAME
 
Constructor Summary
JmxLoggerImpl()
          Default constructor.
 
Method Summary
 void log(String message)
          Log the specified message as a JMX notification.
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
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 javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Constructor Detail

JmxLoggerImpl

public JmxLoggerImpl()
Default constructor.

Method Detail

log

public void log(String message)
Log the specified message as a JMX notification.

Specified by:
log in interface JmxLogger
Parameters:
message - the message to log.


Copyright © 2005-2010 JPPF Team.