public interface RepositorySelector
LogManager uses one (and only one)
RepositorySelector implementation to select the
LoggerRepository for a particular application context.
It is the responsibility of the RepositorySelector
implementation to track the application context. Log4j makes no
assumptions about the application context or on its management.
See also LogManager.
| Modifier and Type | Method and Description |
|---|---|
LoggerRepository |
getLoggerRepository()
Returns a
LoggerRepository depending on the
context. |
LoggerRepository getLoggerRepository()
LoggerRepository depending on the
context. Implementers must make sure that a valid (non-null)
LoggerRepository is returned.