类 ConfigCenterBean

  • 所有已实现的接口:
    Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware

    public class ConfigCenterBean
    extends ConfigCenterConfig
    implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean, org.springframework.context.EnvironmentAware
    Start from 2.7.0+, export and refer will only be executed when Spring is fully initialized, and each Config bean will get refreshed on the start of the export and refer process. So it's ok for this bean not to be the first Dubbo Config bean being initialized.

    另请参阅:
    序列化表格
    • 构造器详细资料

      • ConfigCenterBean

        public ConfigCenterBean()
    • 方法详细资料

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
      • destroy

        public void destroy()
                     throws Exception
        指定者:
        destroy 在接口中 org.springframework.beans.factory.DisposableBean
        抛出:
        Exception
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        指定者:
        setEnvironment 在接口中 org.springframework.context.EnvironmentAware
      • getApplicationContext

        public org.springframework.context.ApplicationContext getApplicationContext()
      • getIncludeSpringEnv

        public Boolean getIncludeSpringEnv()
      • setIncludeSpringEnv

        public void setIncludeSpringEnv​(Boolean includeSpringEnv)