站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

TCLFilter (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.logging.filter
Class TCLFilter

java.lang.Object
  extended byorg.apache.log4j.spi.Filter
      extended byorg.jboss.logging.filter.TCLFilter
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public class TCLFilter
extends org.apache.log4j.spi.Filter

An appender filter that accepts log events based on whether the thread context class loader has a classpath URL that has the DeployURL attribute as a substring. A sample usage would be:

Version:
$Revison:$
Author:
Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.apache.log4j.spi.Filter
ACCEPT, DENY, NEUTRAL, next
 
Constructor Summary
TCLFilter()
           
 
Method Summary
 int decide(org.apache.log4j.spi.LoggingEvent event)
           
 String getDeployURL()
           
 boolean isAcceptOnMatch()
           
 void setAcceptOnMatch(boolean acceptOnMatch)
           
 void setDeployURL(String deployURL)
           
 
Methods inherited from class org.apache.log4j.spi.Filter
activateOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCLFilter

public TCLFilter()
Method Detail

isAcceptOnMatch

public boolean isAcceptOnMatch()

setAcceptOnMatch

public void setAcceptOnMatch(boolean acceptOnMatch)

getDeployURL

public String getDeployURL()

setDeployURL

public void setDeployURL(String deployURL)

decide

public int decide(org.apache.log4j.spi.LoggingEvent event)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.