org.slf4j.spi

Interface MarkerFactoryBinder

public interface MarkerFactoryBinder

An internal interface which helps the static MarkerFactory class bind with the appropriate IMarkerFactory instance.

Author: Ceki Gülcü

Method Summary
IMarkerFactorygetMarkerFactory()
Return the instance of IMarkerFactory that MarkerFactory class should bind to.
StringgetMarkerFactoryClassStr()
The String form of the IMarkerFactory object that this MarkerFactoryBinder instance is intended to return.

Method Detail

getMarkerFactory

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

Returns: the instance of IMarkerFactory that 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

Copyright © 2005-2009 QOS.ch. All Rights Reserved.