Save This Page
Home » slf4j-1.5.5 » org.apache » log4j » spi » [javadoc | source]
org.apache.log4j.spi
public interface: RepositorySelector [javadoc | source]

All Known Implementing Classes:
    DefaultRepositorySelector

The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerRepository for a particular application context.

It is the responsability of the RepositorySelector implementation to track the application context. Log4j makes no assumptions about the application context or on its management.

See also LogManager .

Method from org.apache.log4j.spi.RepositorySelector Summary:
getLoggerRepository
Method from org.apache.log4j.spi.RepositorySelector Detail:
 public LoggerRepository getLoggerRepository()
    Returns a LoggerRepository depending on the context. Implementors must make sure that a valid (non-null) LoggerRepository is returned.