Let's make the Lifecycle a bit more abstract and decouple it from all the

server business. I'd move the whole kit and kaboodle to samskivert but that
would mean moving the DependencyGraph as well...


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5804 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-05-27 19:09:47 +00:00
parent d855eb184a
commit e87c86dc2c
12 changed files with 81 additions and 87 deletions
@@ -23,6 +23,7 @@ package com.threerings.crowd.peer.server;
import com.google.inject.Inject;
import com.threerings.util.Lifecycle;
import com.threerings.util.Name;
import com.threerings.presents.data.ClientObject;
@@ -32,7 +33,6 @@ import com.threerings.presents.peer.server.PeerManager;
import com.threerings.presents.peer.server.PeerNode;
import com.threerings.presents.server.InvocationException;
import com.threerings.presents.server.InvocationManager;
import com.threerings.presents.server.LifecycleManager;
import com.threerings.presents.server.PresentsSession;
import com.threerings.crowd.chat.client.ChatService;
@@ -51,9 +51,9 @@ public abstract class CrowdPeerManager extends PeerManager
/**
* Creates an uninitialized peer manager.
*/
@Inject public CrowdPeerManager (LifecycleManager lifeMgr)
@Inject public CrowdPeerManager (Lifecycle cycle)
{
super(lifeMgr);
super(cycle);
}
// from interface CrowdPeerProvider