org.nutz.cloud.config.CloudConfigureLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nutzboot-starter-config-client Show documentation
Show all versions of nutzboot-starter-config-client Show documentation
NutzBoot, micoservice base on Nutz
package org.nutz.cloud.config;
import java.io.IOException;
import org.nutz.boot.config.impl.PropertiesConfigureLoader;
public class CloudConfigureLoader extends PropertiesConfigureLoader {
public CloudConfigureLoader() {
CloudConfig.init();
}
protected void readPropertiesPath(String path) throws IOException {
if (path.contains("/") || path.contains("\\"))
super.readPropertiesPath(path);
else {
CloudConfig.fromRemote(conf, path);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy