|
|
|
@ -27,12 +27,14 @@ import com.tencent.cloud.polaris.config.adapter.PolarisRefreshEntireContextRefre
|
|
|
|
|
import com.tencent.cloud.polaris.config.annotation.PolarisConfigAnnotationProcessor;
|
|
|
|
|
import com.tencent.cloud.polaris.config.condition.ConditionalOnReflectRefreshType;
|
|
|
|
|
import com.tencent.cloud.polaris.config.config.PolarisConfigProperties;
|
|
|
|
|
import com.tencent.cloud.polaris.config.listener.PolarisConfigApplicationEventListener;
|
|
|
|
|
import com.tencent.cloud.polaris.config.listener.PolarisConfigChangeEventListener;
|
|
|
|
|
import com.tencent.cloud.polaris.config.listener.PolarisConfigRefreshOptimizationListener;
|
|
|
|
|
import com.tencent.cloud.polaris.config.logger.PolarisConfigLoggerApplicationListener;
|
|
|
|
|
import com.tencent.cloud.polaris.config.spring.annotation.SpringValueProcessor;
|
|
|
|
|
import com.tencent.cloud.polaris.config.spring.property.PlaceholderHelper;
|
|
|
|
|
import com.tencent.cloud.polaris.config.spring.property.SpringValueRegistry;
|
|
|
|
|
import com.tencent.cloud.polaris.context.PolarisSDKContextManager;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
|
|
|
@ -120,5 +122,10 @@ public class PolarisConfigAutoConfiguration {
|
|
|
|
|
public PolarisConfigRefreshOptimizationListener polarisConfigRefreshOptimizationListener() {
|
|
|
|
|
return new PolarisConfigRefreshOptimizationListener();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
|
public PolarisConfigApplicationEventListener polarisContextApplicationEventListener(PolarisSDKContextManager polarisSDKContextManager) {
|
|
|
|
|
return new PolarisConfigApplicationEventListener(polarisSDKContextManager);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|