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 betweenServiceLoader
and CDI, by registering itself as a service and using CDI to discover available CDI-managedConfigSource
s.- Since:
- 20.06
- Author:
- Aleks Seovic 2020.06.11
-
-
Constructor Summary
Constructors Constructor Description CdiConfigSourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.eclipse.microprofile.config.spi.ConfigSource>
getConfigSources(ClassLoader forClassLoader)
-
-
-
Method Detail
-
getConfigSources
public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(ClassLoader forClassLoader)
- Specified by:
getConfigSources
in interfaceorg.eclipse.microprofile.config.spi.ConfigSourceProvider
-
-