org.slf4j.impl
Class StaticMarkerBinder

java.lang.Object
  extended byorg.slf4j.impl.StaticMarkerBinder

public class StaticMarkerBinder
extends Object


Field Summary
static StaticMarkerBinder SINGLETON
          The unique instance of this class.
 
Method Summary
 IMarkerFactory getMarkerFactory()
          Return the instance of IMarkerFactory that org.slf4j.MarkerFactory class should bind to.
 String getMarkerFactoryClassStr()
          The String form of the IMarkerFactory object that this MarkerFactoryBinder 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

SINGLETON

public static final StaticMarkerBinder SINGLETON
The unique instance of this class.

Method Detail

getMarkerFactory

public IMarkerFactory getMarkerFactory()
Return the instance of IMarkerFactory that org.slf4j.MarkerFactory class should bind to.

Returns:
the instance of IMarkerFactory that org.slf4j.MarkerFactory class should bind to.

getMarkerFactoryClassStr

public String getMarkerFactoryClassStr()
The String form of the IMarkerFactory object that this MarkerFactoryBinder instance is intended to return.

This method allows the developer to intterogate this binder's intention which may be different from the IMarkerFactory instance it is able to return. Such a discrepency should only occur in case of errors.

Returns:
the class name of the intended IMarkerFactory instance