Use inherited properties when we bind 'em.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@200 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: CrowdServer.java,v 1.5 2001/08/04 01:55:41 mdb Exp $
|
// $Id: CrowdServer.java,v 1.6 2001/08/08 23:48:51 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cocktail.party.server;
|
package com.threerings.cocktail.party.server;
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ public class PartyServer extends CherServer
|
|||||||
super.init();
|
super.init();
|
||||||
|
|
||||||
// bind the party server config into the namespace
|
// bind the party server config into the namespace
|
||||||
config.bindProperties(CONFIG_KEY, CONFIG_PATH);
|
config.bindProperties(CONFIG_KEY, CONFIG_PATH, true);
|
||||||
|
|
||||||
// configure the client to use our party client
|
// configure the client to use our party client
|
||||||
clmgr.setClientClass(PartyClient.class);
|
clmgr.setClientClass(PartyClient.class);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PresentsServer.java,v 1.10 2001/08/08 00:28:49 mdb Exp $
|
// $Id: PresentsServer.java,v 1.11 2001/08/08 23:48:51 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cocktail.cher.server;
|
package com.threerings.cocktail.cher.server;
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ public class CherServer
|
|||||||
// create our configuration object
|
// create our configuration object
|
||||||
config = new Config();
|
config = new Config();
|
||||||
// bind the cher server config into the namespace
|
// bind the cher server config into the namespace
|
||||||
config.bindProperties(CONFIG_KEY, CONFIG_PATH);
|
config.bindProperties(CONFIG_KEY, CONFIG_PATH, true);
|
||||||
|
|
||||||
// create our authentication manager
|
// create our authentication manager
|
||||||
authmgr = new AuthManager(new DummyAuthenticator());
|
authmgr = new AuthManager(new DummyAuthenticator());
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: TestServer.java,v 1.1 2001/08/07 20:38:58 mdb Exp $
|
// $Id: TestServer.java,v 1.2 2001/08/08 23:48:51 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cocktail.cher.server.test;
|
package com.threerings.cocktail.cher.server.test;
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ public class TestServer extends CherServer
|
|||||||
super.init();
|
super.init();
|
||||||
|
|
||||||
// bind the party server config into the namespace
|
// bind the party server config into the namespace
|
||||||
config.bindProperties(CONFIG_KEY, CONFIG_PATH);
|
config.bindProperties(CONFIG_KEY, CONFIG_PATH, true);
|
||||||
|
|
||||||
// register our invocation service providers
|
// register our invocation service providers
|
||||||
registerProviders(config.getValue(PROVIDERS_KEY, (String[])null));
|
registerProviders(config.getValue(PROVIDERS_KEY, (String[])null));
|
||||||
|
|||||||
Reference in New Issue
Block a user