Package org.apache.log4j.spi
Interface RepositorySelector
-
- All Known Implementing Classes:
DefaultRepositorySelector
public interface RepositorySelectorTheLogManageruses one (and only one)RepositorySelectorimplementation to select theLoggerRepositoryfor a particular application context.It is the responsability of the
RepositorySelectorimplementation to track the application context. Log4j makes no assumptions about the application context or on its management.See also
LogManager.- Since:
- 1.2
- Author:
- Ceki Gülcü
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggerRepositorygetLoggerRepository()Returns aLoggerRepositorydepending on the context.
-
-
-
Method Detail
-
getLoggerRepository
LoggerRepository getLoggerRepository()
Returns aLoggerRepositorydepending on the context. Implementors must make sure that a valid (non-null) LoggerRepository is returned.
-
-