Class PropertySourceBootstrapConfiguration

  • All Implemented Interfaces:
    EventListener, org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered

    @Configuration(proxyBeanMethods=false)
    @EnableConfigurationProperties(PropertySourceBootstrapProperties.class)
    public class PropertySourceBootstrapConfiguration
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered
    Author:
    Dave Syer
    • Field Detail

      • BOOTSTRAP_PROPERTY_SOURCE_NAME

        public static final String BOOTSTRAP_PROPERTY_SOURCE_NAME
        Bootstrap property source name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PropertySourceBootstrapConfiguration

        public PropertySourceBootstrapConfiguration()
    • Method Detail

      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • initialize

        public void initialize​(org.springframework.context.ConfigurableApplicationContext applicationContext)
        Specified by:
        initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>