org.eclipse.jetty.monitor.jmx
Class LoggingNotifier

java.lang.Object
  extended by org.eclipse.jetty.monitor.jmx.LoggingNotifier
All Implemented Interfaces:
EventNotifier

public class LoggingNotifier
extends Object
implements EventNotifier

ConsoleNotifier Provides a way to output notification messages to a log file


Constructor Summary
LoggingNotifier(String format)
          Constructs a new notifier with specified format string
 
Method Summary
 void notify(EventTrigger trigger, EventState<?> state, long timestamp)
          This method is called when a notification event is received by the containing object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingNotifier

public LoggingNotifier(String format)
                throws IllegalArgumentException
Constructs a new notifier with specified format string

Parameters:
format - the format string
Throws:
IllegalArgumentException
Method Detail

notify

public void notify(EventTrigger trigger,
                   EventState<?> state,
                   long timestamp)
Description copied from interface: EventNotifier
This method is called when a notification event is received by the containing object

Specified by:
notify in interface EventNotifier
state - an event state
timestamp - time stamp of the event
See Also:
EventNotifier.notify(org.eclipse.jetty.monitor.jmx.EventTrigger, org.eclipse.jetty.monitor.jmx.EventState, long)


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.