public abstract class MappingsProvider
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected CharonProperties |
charon |
protected java.util.List<CharonProperties.Mapping> |
mappings |
protected MappingsCorrector |
mappingsCorrector |
protected org.springframework.scheduling.TaskScheduler |
scheduler |
| Constructor and Description |
|---|
MappingsProvider(org.springframework.scheduling.TaskScheduler scheduler,
CharonProperties charon,
MappingsCorrector mappingsCorrector) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CharonProperties.Mapping> |
getMappings() |
protected abstract java.util.List<CharonProperties.Mapping> |
retrieveMappings() |
protected void |
scheduleMappingsUpdate() |
void |
updateMappings() |
protected final org.springframework.scheduling.TaskScheduler scheduler
protected final CharonProperties charon
protected final MappingsCorrector mappingsCorrector
protected java.util.List<CharonProperties.Mapping> mappings
public MappingsProvider(org.springframework.scheduling.TaskScheduler scheduler,
CharonProperties charon,
MappingsCorrector mappingsCorrector)
public java.util.List<CharonProperties.Mapping> getMappings()
public void updateMappings()
@PostConstruct protected void scheduleMappingsUpdate()
protected abstract java.util.List<CharonProperties.Mapping> retrieveMappings()