public interface ConfigDataEnvironmentUpdateListener extends EventListener
Modifier and Type | Field and Description |
---|---|
static ConfigDataEnvironmentUpdateListener |
NONE
A
ConfigDataEnvironmentUpdateListener that does nothing. |
Modifier and Type | Method and Description |
---|---|
default void |
onPropertySourceAdded(PropertySource<?> propertySource,
ConfigDataLocation location,
ConfigDataResource resource)
Called when a new
PropertySource is added to the Environment . |
default void |
onSetProfiles(Profiles profiles)
Called when
Environment profiles are set. |
static final ConfigDataEnvironmentUpdateListener NONE
ConfigDataEnvironmentUpdateListener
that does nothing.default void onPropertySourceAdded(PropertySource<?> propertySource, ConfigDataLocation location, ConfigDataResource resource)
PropertySource
is added to the Environment
.propertySource
- the PropertySource
that was addedlocation
- the original ConfigDataLocation
of the source.resource
- the ConfigDataResource
of the source.default void onSetProfiles(Profiles profiles)
Environment
profiles are set.profiles
- the profiles being set