|
Log4j 1.3alpha-1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 Summary | |
LoggerRepository |
detachRepository(java.lang.String contextName)
Remove the repository with the given context name from the list maintained by the respository selector. |
LoggerRepository |
getLoggerRepository()
Returns a LoggerRepository depending on the
context. |
void |
setDefaultRepository(LoggerRepository def)
Sets the default repository |
Method Detail |
public LoggerRepository getLoggerRepository()
LoggerRepository
depending on the
context. Implementors must make sure that a valid (non-null)
LoggerRepository is returned.
public void setDefaultRepository(LoggerRepository def)
public LoggerRepository detachRepository(java.lang.String contextName)
|
Log4j 1.3alpha-1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |