org.jboss.logmanager.log4j
Class BridgeRepositorySelector
java.lang.Object
org.jboss.logmanager.log4j.BridgeRepositorySelector
- All Implemented Interfaces:
- org.apache.log4j.spi.RepositorySelector
public final class BridgeRepositorySelector
- extends Object
- implements org.apache.log4j.spi.RepositorySelector
A simple repository selector which chooses the BridgeRepository always. Contains a start() method to
facilitate container deployment.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeRepositorySelector
public BridgeRepositorySelector()
getLoggerRepository
public org.apache.log4j.spi.LoggerRepository getLoggerRepository()
- Specified by:
getLoggerRepository in interface org.apache.log4j.spi.RepositorySelector
start
public void start()
- Container install method. Performs two steps: installs this repository selector into the log4j logmanager, and
clears the system property which prevents log4j from initializing (thus allowing other log4j instances to be
started and configured independently).
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.