|
|
|
@ -18,8 +18,6 @@ package com.alibaba.cloud.nacos;
|
|
|
|
|
|
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.PreDestroy;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.cloud.nacos.diagnostics.analyzer.NacosConnectionFailureException;
|
|
|
|
|
import com.alibaba.nacos.api.NacosFactory;
|
|
|
|
|
import com.alibaba.nacos.api.config.ConfigService;
|
|
|
|
@ -75,14 +73,6 @@ public class NacosConfigManager {
|
|
|
|
|
return service;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PreDestroy
|
|
|
|
|
public void destroy() throws NacosException {
|
|
|
|
|
if (service != null) {
|
|
|
|
|
service.shutDown();
|
|
|
|
|
service = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public NacosConfigProperties getNacosConfigProperties() {
|
|
|
|
|
return nacosConfigProperties;
|
|
|
|
|
}
|
|
|
|
|