Interface MDCAdapterProvider
-
public interface MDCAdapterProviderProvider interface for defining custom MDCAdapters.
Implementations can be activated via service loader mechanism.
ie.: placing the fully qualified name of the implementing class intoMETA-INF/services/hu.icellmobilsoft.coffee.cdi.logger.mdc.MDCAdapterProviderfile- Since:
- 1.1.0
- Author:
- mark.petrenyi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MDCAdaptergetAdapter()Provide and initializes MDCAdapter instance.
-
-
-
Method Detail
-
getAdapter
MDCAdapter getAdapter() throws Exception
Provide and initializes MDCAdapter instance. Note that Exception can be thrown.- Returns:
- MDCAdapter instance
- Throws:
Exception- if could not initialize MDCAdapter; if thrown another provider will be tried.
-
-