org.codehaus.waffle.monitor
Class SilentMonitor

java.lang.Object
  extended by org.codehaus.waffle.monitor.AbstractWritingMonitor
      extended by org.codehaus.waffle.monitor.SilentMonitor
All Implemented Interfaces:
ActionMonitor, BindMonitor, ContextMonitor, ControllerMonitor, Monitor, RegistrarMonitor, ServletMonitor, ValidationMonitor, ViewMonitor

public class SilentMonitor
extends AbstractWritingMonitor

SilentMonitor is a writing monitor that writes nothing.

Author:
Mauro Talevi

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Nested classes/interfaces inherited from interface org.codehaus.waffle.monitor.Monitor
Monitor.Level
 
Constructor Summary
SilentMonitor()
           
 
Method Summary
protected  void trace(java.lang.Throwable exception)
          Traces an exception.
protected  void write(Monitor.Level level, java.lang.String message)
          Writes message for a given level.
 
Methods inherited from class org.codehaus.waffle.monitor.AbstractWritingMonitor
actionMethodExecuted, actionMethodExecutionFailed, actionMethodFound, applicationContextContainerDestroyed, applicationContextContainerStarted, argumentNameNotMatched, argumentNameResolved, bindFailedForController, bindFailedForModel, componentRegistered, contextInitialized, controllerNameResolved, controllerNotFound, controllerValidatorNotFound, defaultActionMethodCached, defaultActionMethodFound, findExceptions, instanceRegistered, methodDefinitionNotFound, methodDefinitionNotFound, methodIntercepted, methodNameResolved, monitorLevels, monitorMessages, nonCachingComponentRegistered, pragmaticActionMethodFound, registrarCreated, registrarNotFound, requestContextContainerCreated, requestContextContainerNotFound, responseIsCommitted, servletServiceFailed, sessionContextContainerCreated, validationFailed, viewDispatched, viewForwarded, viewRedirected, viewResponded, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilentMonitor

public SilentMonitor()
Method Detail

write

protected void write(Monitor.Level level,
                     java.lang.String message)
Description copied from class: AbstractWritingMonitor
Writes message for a given level. Concrete implementations should provide writing functionality.

Specified by:
write in class AbstractWritingMonitor
Parameters:
level - the Level
message - the message to write

trace

protected void trace(java.lang.Throwable exception)
Description copied from class: AbstractWritingMonitor
Traces an exception. Concrete implementations should provide writing functionality.

Specified by:
trace in class AbstractWritingMonitor
Parameters:
exception - the Throwable to trace


Copyright © 2008. All Rights Reserved.