|
|
|
@ -34,6 +34,11 @@ public class DesignLauncher extends XmlCarinaLauncher {
|
|
|
|
|
return context; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected void initEncryption() throws CarinaException { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected void initTenant() throws CarinaException { |
|
|
|
|
} |
|
|
|
@ -41,7 +46,7 @@ public class DesignLauncher extends XmlCarinaLauncher {
|
|
|
|
|
@Override |
|
|
|
|
protected void initServiceDiscovery() throws CarinaException { |
|
|
|
|
try { |
|
|
|
|
Carina.properties(DiscoveryProperties.class).setServer("local"); |
|
|
|
|
Carina.properties(DiscoveryProperties.class).setType("local"); |
|
|
|
|
// 服务发现初始化
|
|
|
|
|
DiscoveryFactory.initialize(); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|