Class 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_PROPERTY
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onApplicationEvent​(org.springframework.context.ApplicationEvent event)  
      • Methods inherited from class org.springframework.boot.context.config.ConfigFileApplicationListener

        addPostProcessors, addPropertySources, getOrder, postProcessEnvironment, setOrder, setSearchLocations, setSearchNames, supportsEventType
      • Methods inherited from interface org.springframework.context.event.SmartApplicationListener

        getListenerId, supportsSourceType
    • Constructor Detail

      • BootstrapConfigFileApplicationListener

        public BootstrapConfigFileApplicationListener()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.ApplicationEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
        Overrides:
        onApplicationEvent in class org.springframework.boot.context.config.ConfigFileApplicationListener