FileDocCategorySizeDatePackage
RepositorySelector.javaAPI DocApache log4j 1.2.151613Sat Aug 25 00:09:40 BST 2007org.apache.log4j.spi

RepositorySelector

public interface RepositorySelector
The LogManager uses one (and only one) RepositorySelector implementation to select the {@link 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 {@link org.apache.log4j.LogManager LogManager}.

author
Ceki Gülcü
since
1.2

Fields Summary
Constructors Summary
Methods Summary
public org.apache.log4j.spi.LoggerRepositorygetLoggerRepository()
Returns a {@link LoggerRepository} depending on the context. Implementors must make sure that a valid (non-null) LoggerRepository is returned.