org.x4juli.filter
Class DenyAllFilter

java.lang.Object
  extended byorg.x4juli.global.components.AbstractComponent
      extended byorg.x4juli.global.components.AbstractFilter
          extended byorg.x4juli.filter.DenyAllFilter
All Implemented Interfaces:
Component, ExtendedFilter, java.util.logging.Filter, OptionHandler

public class DenyAllFilter
extends AbstractFilter

A filter which denys everything

Logging API as a whole was originally done for Apache log4j. Juli is a port of main parts of that to complete the Java Logging APIs. All credits for initial idea, design, implementation, documentation belong to the log4j crew. This file was originally published by Ceki Gülcü. Please use exclusively the appropriate mailing lists for questions, remarks and contribution.

Since:
0.5
Author:
Boris Unckel

Field Summary
 
Fields inherited from class org.x4juli.global.components.AbstractFilter
 
Fields inherited from class org.x4juli.global.components.AbstractComponent
manager, repository
 
Fields inherited from interface org.x4juli.global.spi.ExtendedFilter
ACCEPT, DENY, X4JULI_ACCEPT, X4JULI_DENY, X4JULI_NEUTRAL
 
Constructor Summary
DenyAllFilter()
           
 
Method Summary
 int decide(ExtendedLogRecord record)
          Deny All
 
Methods inherited from class org.x4juli.global.components.AbstractFilter
activateOptions, getNext, isLoggable, setNext
 
Methods inherited from class org.x4juli.global.components.AbstractComponent
getLogger, getLoggerRepository, getMessageProperties, getNonFloodingLogger, getProperty, getProperty, getProperty, getProperty, resetErrorCount, setObjectStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DenyAllFilter

public DenyAllFilter()
Method Detail

decide

public int decide(ExtendedLogRecord record)
Deny All

Specified by:
decide in interface ExtendedFilter
Specified by:
decide in class AbstractFilter
Parameters:
record - The LoggingEvent to decide upon.
Returns:
always false
Since:
0.5
See Also:
AbstractFilter.decide(org.x4juli.global.spi.ExtendedLogRecord)


${license_html}