Modified location services such that the registry and the provider are
supplied with the managers they need at initialization time and such that the location provider is automatically registered by the place registry rather than requiring you to put a line in a config file which was a silly idea in the first place. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@729 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: CrowdServer.java,v 1.8 2001/10/11 04:07:51 mdb Exp $
|
||||
// $Id: CrowdServer.java,v 1.9 2001/12/04 01:02:59 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.server;
|
||||
|
||||
@@ -41,7 +41,7 @@ public class CrowdServer extends PresentsServer
|
||||
clmgr.setClientObjectClass(BodyObject.class);
|
||||
|
||||
// create our place registry
|
||||
plreg = new PlaceRegistry(config);
|
||||
plreg = new PlaceRegistry(config, invmgr, omgr);
|
||||
|
||||
// register our invocation service providers
|
||||
registerProviders(config.getValue(PROVIDERS_KEY, (String[])null));
|
||||
|
||||
Reference in New Issue
Block a user