|
Log4j 1.3alpha-6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.spi.DefaultRepositorySelector
Constructor Summary | |
DefaultRepositorySelector(LoggerRepository repository)
|
Method Summary | |
LoggerRepository |
detachRepository(java.lang.String name)
Does nothing, always returns null. |
LoggerRepository |
getLoggerRepository()
Returns a LoggerRepository depending on the context. |
LoggerRepository |
getLoggerRepository(java.lang.String name)
Get a LoggerRepository by name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultRepositorySelector(LoggerRepository repository)
Method Detail |
public LoggerRepository getLoggerRepository()
RepositorySelector
LoggerRepository
depending on the context. Implementors
must make sure that under all circumstances a valid (non-null)
LoggerRepository is returned.
getLoggerRepository
in interface RepositorySelector
public LoggerRepository getLoggerRepository(java.lang.String name)
RepositorySelector
LoggerRepository
by name. If the named repository does not
exists or is unknown to this selector, then null
is returned.
getLoggerRepository
in interface RepositorySelector
public LoggerRepository detachRepository(java.lang.String name)
detachRepository
in interface RepositorySelector
|
Log4j 1.3alpha-6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |