- All Known Implementing Classes:
DefaultServiceProvider
public interface GLFServiceProvider
GLF Service Provider interface.
This interface based on
ServiceLoader paradigm.- Author:
- Leonard Woo
-
Method Summary
Modifier and TypeMethodDescriptionReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.Return the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.voidInitialize the logging back-end.
-
Method Details
-
getILoggerFactory
ILoggerFactory getILoggerFactory()Return the instance ofILoggerFactorythatLoggerFactoryclass should bind to.- Returns:
- instance of
ILoggerFactory
-
getMarkerFactory
IMarkerFactory getMarkerFactory()Return the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.- Returns:
- instance of
IMarkerFactory
-
initialize
void initialize()Initialize the logging back-end.WARNING: This method is intended to be called once by
LoggerFactoryclass and from nowhere else.
-