当前页面:
在线文档首页 >
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
org.apache.log4j.spi.Filter
org.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
Fields inherited from class org.apache.log4j.spi.Filter |
ACCEPT, DENY, NEUTRAL, next |
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 |
TCLFilter
public TCLFilter()
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.