public interface RefreshEventListener extends ApplicationEventListener<RefreshEvent>, Ordered
RefreshEvent where the implementation is only interested in a limited set of configuration prefixes.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_POSITION
The default position as defined by
Ordered.getOrder(). |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getObservedConfigurationPrefixes()
Returns the set of observed configuration prefixes that the event listener should listen for.
|
default int |
getOrder() |
default boolean |
supports(RefreshEvent event)
Whether the given event is supported.
|
onApplicationEventstatic final int DEFAULT_POSITION
Ordered.getOrder().default boolean supports(RefreshEvent event)
ApplicationEventListenersupports in interface ApplicationEventListener<RefreshEvent>event - The event@NonNull Set<String> getObservedConfigurationPrefixes()