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