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_PROPERTY

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
      Overrides:
      onApplicationEvent in class org.springframework.boot.context.config.ConfigFileApplicationListener