Package com.oracle.coherence.mp.config
Class CdiConfigSourceProvider
java.lang.Object
com.oracle.coherence.mp.config.CdiConfigSourceProvider
- All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSourceProvider
public class CdiConfigSourceProvider
extends Object
implements org.eclipse.microprofile.config.spi.ConfigSourceProvider
Bridges the gap between
ServiceLoader
and CDI, by registering itself
as a service and using CDI to discover available CDI-managed ConfigSource
s.- Since:
- 20.06
- Author:
- Aleks Seovic 2020.06.11
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIterable
<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources
(ClassLoader forClassLoader)
-
Constructor Details
-
CdiConfigSourceProvider
public CdiConfigSourceProvider()
-
-
Method Details
-
getConfigSources
public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(ClassLoader forClassLoader) - Specified by:
getConfigSources
in interfaceorg.eclipse.microprofile.config.spi.ConfigSourceProvider
-