Package org.slf4j.impl
Class StaticMarkerBinder
- java.lang.Object
-
- org.slf4j.impl.StaticMarkerBinder
-
- All Implemented Interfaces:
MarkerFactoryBinder
public class StaticMarkerBinder extends java.lang.Object implements MarkerFactoryBinder
The binding ofMarkerFactoryclass with an actual instance ofIMarkerFactoryis performed using information returned by this class.
-
-
Field Summary
Fields Modifier and Type Field Description static StaticMarkerBinderSINGLETONThe unique instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMarkerFactorygetMarkerFactory()Currently this method always returns an instance ofBasicMarkerFactory.java.lang.StringgetMarkerFactoryClassStr()Currently, this method returns the class name ofBasicMarkerFactory.
-
-
-
Field Detail
-
SINGLETON
public static final StaticMarkerBinder SINGLETON
The unique instance of this class.
-
-
Method Detail
-
getMarkerFactory
public IMarkerFactory getMarkerFactory()
Currently this method always returns an instance ofBasicMarkerFactory.- Specified by:
getMarkerFactoryin interfaceMarkerFactoryBinder- Returns:
- the instance of
IMarkerFactorythatMarkerFactoryclass should bind to.
-
getMarkerFactoryClassStr
public java.lang.String getMarkerFactoryClassStr()
Currently, this method returns the class name ofBasicMarkerFactory.- Specified by:
getMarkerFactoryClassStrin interfaceMarkerFactoryBinder- Returns:
- the class name of the intended
IMarkerFactoryinstance
-
-