java.lang.Object
org.seppiko.glf.event.DefaultServiceProvider
- All Implemented Interfaces:
GLFServiceProvider
Default Service Provider registration
- Author:
- Leonard Woo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.Return the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.voidInitialize the logging back-end.
-
Constructor Details
-
DefaultServiceProvider
public DefaultServiceProvider()
-
-
Method Details
-
getILoggerFactory
Description copied from interface:GLFServiceProviderReturn the instance ofILoggerFactorythatLoggerFactoryclass should bind to.- Specified by:
getILoggerFactoryin interfaceGLFServiceProvider- Returns:
- instance of
ILoggerFactory
-
getLoggerFactory
-
getMarkerFactory
Description copied from interface:GLFServiceProviderReturn the instance ofIMarkerFactorythatMarkerFactoryclass should bind to.- Specified by:
getMarkerFactoryin interfaceGLFServiceProvider- Returns:
- instance of
IMarkerFactory
-
initialize
public void initialize()Description copied from interface:GLFServiceProviderInitialize the logging back-end.WARNING: This method is intended to be called once by
LoggerFactoryclass and from nowhere else.- Specified by:
initializein interfaceGLFServiceProvider
-