Class ConfigDataContextRefresher

java.lang.Object
org.springframework.cloud.context.refresh.ContextRefresher
org.springframework.cloud.context.refresh.ConfigDataContextRefresher
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>

public class ConfigDataContextRefresher extends ContextRefresher implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
Author:
Dave Syer, Venil Noronha
  • Constructor Details

    • ConfigDataContextRefresher

      @Deprecated public ConfigDataContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope)
      Deprecated.
    • ConfigDataContextRefresher

      public ConfigDataContextRefresher(org.springframework.context.ConfigurableApplicationContext context, RefreshScope scope, RefreshAutoConfiguration.RefreshProperties properties)
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.boot.context.event.ApplicationPreparedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
    • updateEnvironment

      protected void updateEnvironment()
      Specified by:
      updateEnvironment in class ContextRefresher