ServerConfig
113114115116117118119120121122123124125
if (!setupAuthorities(moAdmin)) { System.err.println("Failed to ensure XRI registrations state."); } PropertiesServerConfig oConfig = new PropertiesServerConfig(); oConfig.init(ssPropertiesFile); if (oConfig.isSigningMode()) { moCertChain = oConfig.getCertificateChain(); } } // setUp()
747576777879808182838485
{ throw new RuntimeException( "Properties file not specified. Use java -D.xri.test.properties=/path/to/server.properties"); } PropertiesServerConfig oConfig = new PropertiesServerConfig(); oConfig.init(sPropertiesFile); moAdmin = StoreFactory.getInstance().getStore(oConfig); if (moAdmin instanceof BaseStore) { ((BaseStore) moAdmin).resetStore(); }