org.jboss.logmanager.log4j
Class BridgeRepositorySelector

java.lang.Object
  extended by org.jboss.logmanager.log4j.BridgeRepositorySelector
All Implemented Interfaces:
org.apache.log4j.spi.RepositorySelector

public final class BridgeRepositorySelector
extends java.lang.Object
implements org.apache.log4j.spi.RepositorySelector

A simple repository selector which chooses the BridgeRepository always. Contains a start() method to facilitate container deployment.


Constructor Summary
BridgeRepositorySelector()
           
 
Method Summary
 org.apache.log4j.spi.LoggerRepository getLoggerRepository()
           
 void start()
          Container install method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgeRepositorySelector

public BridgeRepositorySelector()
Method Detail

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 © 2009. All Rights Reserved.