|
SLF4J 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.slf4j.impl.SystemPropBinder
Allows for dynamic binding as specified by information contained in the
LOGGER_FACTORY_PROPERTY
java system property.
Field Summary | |
static java.lang.String |
LOGGER_FACTORY_FACTORY_METHOD_NAME
Constant used to determine the name of the factory method for creating logger factories. |
static java.lang.String |
LOGGER_FACTORY_PROPERTY
The name of the system property to set in order to instruct LoggerFactory class to use a specific ILoggerFactory. |
Constructor Summary | |
SystemPropBinder()
|
Method Summary | |
ILoggerFactory |
getLoggerFactory()
Fetch the appropriate ILoggerFactory as instructed by the system properties. |
java.lang.String |
getLoggerFactoryClassStr()
The String form of the ILoggerFactory object that this
LoggerFactoryBinder instance is intended to return.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOGGER_FACTORY_PROPERTY
LoggerFactory
class to use a specific ILoggerFactory.
public static final java.lang.String LOGGER_FACTORY_FACTORY_METHOD_NAME
Constructor Detail |
public SystemPropBinder()
Method Detail |
public ILoggerFactory getLoggerFactory()
getLoggerFactory
in interface LoggerFactoryBinder
public java.lang.String getLoggerFactoryClassStr()
LoggerFactoryBinder
ILoggerFactory
object that this
LoggerFactoryBinder
instance is intended to return.
This method allows the developer to intterogate this binder's intention
which may be different from the ILoggerFactory
instance it is able to
yield in practice. The discrepency should only occur in case of errors.
getLoggerFactoryClassStr
in interface LoggerFactoryBinder
ILoggerFactory
instance
|
Copyright 2004-2006 SLF4J.ORG, QOS.ch | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |