Modify PresentsClient and ClientResolver creation so that we can inject
dependencies into both. Moved the legacy statics into CrowdServer so that at least Presents can be pure (we should probably eventually move them into BangServer and PiracyServer and fix everything else). Added some useful manager references to PlaceManager delegate (_omgr, _invmgr) that handle the majority of their service needs. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5170 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -194,7 +194,7 @@ public class PlaceManager
|
||||
if (_delegates == null) {
|
||||
_delegates = Lists.newArrayList();
|
||||
}
|
||||
delegate.setPlaceManager(this);
|
||||
delegate.init(this, _omgr, _invmgr);
|
||||
_delegates.add(delegate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user