Class CoherenceConfigDataLoader
- java.lang.Object
-
- com.oracle.coherence.spring.boot.config.CoherenceConfigDataLoader
-
- All Implemented Interfaces:
org.springframework.boot.context.config.ConfigDataLoader<CoherenceConfigDataResource>
public class CoherenceConfigDataLoader extends Object implements org.springframework.boot.context.config.ConfigDataLoader<CoherenceConfigDataResource>
Coherence-specific implementation of Spring Boot'sConfigDataLoader
.- Since:
- 3.0
- Author:
- Gunnar Hillert
-
-
Constructor Summary
Constructors Constructor Description CoherenceConfigDataLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
buildSourceNames(CoherenceConfigDataResource coherenceConfigDataResource)
Build a list of config source names.List<PropertySource<?>>
getPropertySources(CoherenceConfigDataResource resource)
org.springframework.boot.context.config.ConfigData
load(org.springframework.boot.context.config.ConfigDataLoaderContext context, CoherenceConfigDataResource resource)
-
-
-
Method Detail
-
load
public org.springframework.boot.context.config.ConfigData load(org.springframework.boot.context.config.ConfigDataLoaderContext context, CoherenceConfigDataResource resource)
- Specified by:
load
in interfaceorg.springframework.boot.context.config.ConfigDataLoader<CoherenceConfigDataResource>
-
getPropertySources
public List<PropertySource<?>> getPropertySources(CoherenceConfigDataResource resource)
-
buildSourceNames
protected List<String> buildSourceNames(CoherenceConfigDataResource coherenceConfigDataResource)
Build a list of config source names. These are the key under which the properties are stored by Coherence.- Parameters:
coherenceConfigDataResource
- must not be null- Returns:
- a list of config source names
-
-