Interface ConfigDataEnvironmentUpdateListener
- All Superinterfaces:
EventListener
- Since:
- 2.4.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigDataEnvironmentUpdateListenerAConfigDataEnvironmentUpdateListenerthat does nothing. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidonPropertySourceAdded(org.springframework.core.env.PropertySource<?> propertySource, ConfigDataLocation location, ConfigDataResource resource) Called when a newPropertySourceis added to theEnvironment.default voidonSetProfiles(Profiles profiles) Called whenEnvironmentprofiles are set.
-
Field Details
-
NONE
AConfigDataEnvironmentUpdateListenerthat does nothing.
-
-
Method Details
-
onPropertySourceAdded
default void onPropertySourceAdded(org.springframework.core.env.PropertySource<?> propertySource, ConfigDataLocation location, ConfigDataResource resource) Called when a newPropertySourceis added to theEnvironment.- Parameters:
propertySource- thePropertySourcethat was addedlocation- the originalConfigDataLocationof the source.resource- theConfigDataResourceof the source.
-
onSetProfiles
Called whenEnvironmentprofiles are set.- Parameters:
profiles- the profiles being set
-