com.agilejava.blammo
Class BlammoLogger.DefaultInterceptor

java.lang.Object
  extended by com.agilejava.blammo.BlammoLogger.DefaultInterceptor
All Implemented Interfaces:
BlammoLogger.Interceptor
Enclosing interface:
BlammoLogger

public static class BlammoLogger.DefaultInterceptor
extends java.lang.Object
implements BlammoLogger.Interceptor


Constructor Summary
BlammoLogger.DefaultInterceptor()
           
 
Method Summary
 boolean accepts(java.lang.String eventId, java.lang.Class cl, java.lang.String method)
          Intercepts the event, and decides if it should be processed any further.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlammoLogger.DefaultInterceptor

public BlammoLogger.DefaultInterceptor()
Method Detail

accepts

public boolean accepts(java.lang.String eventId,
                       java.lang.Class cl,
                       java.lang.String method)
Description copied from interface: BlammoLogger.Interceptor
Intercepts the event, and decides if it should be processed any further.

Specified by:
accepts in interface BlammoLogger.Interceptor
Parameters:
eventId - The identifier of the event, if it exists. (Could be null.)
cl - The class generating the event.
method - The method generating the event.
Returns:
A boolean indicating if this event should be accepted for further processing.


Copyright © 2008. All Rights Reserved.