Class BootstrapConfigFileApplicationListener
java.lang.Object
org.springframework.boot.context.config.ConfigFileApplicationListener
org.springframework.cloud.bootstrap.BootstrapConfigFileApplicationListener
- All Implemented Interfaces:
EventListener,org.springframework.boot.env.EnvironmentPostProcessor,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>,org.springframework.context.event.SmartApplicationListener,org.springframework.core.Ordered
public class BootstrapConfigFileApplicationListener
extends org.springframework.boot.context.config.ConfigFileApplicationListener
Overrides ConfigFileApplicationListener to disable exception.
- Since:
- 3.0.0
- Author:
- Spencer Gibb
-
Field Summary
Fields inherited from class org.springframework.boot.context.config.ConfigFileApplicationListener
ACTIVE_PROFILES_PROPERTY, CONFIG_ADDITIONAL_LOCATION_PROPERTY, CONFIG_LOCATION_PROPERTY, CONFIG_NAME_PROPERTY, DEFAULT_ORDER, INCLUDE_PROFILES_PROPERTYFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.context.ApplicationEvent event) Methods inherited from class org.springframework.boot.context.config.ConfigFileApplicationListener
addPostProcessors, addPropertySources, getOrder, postProcessEnvironment, setOrder, setSearchLocations, setSearchNames, supportsEventTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.event.SmartApplicationListener
getListenerId, supportsSourceType
-
Constructor Details
-
BootstrapConfigFileApplicationListener
public BootstrapConfigFileApplicationListener()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>- Overrides:
onApplicationEventin classorg.springframework.boot.context.config.ConfigFileApplicationListener
-