Have the RebootManager do its shutdown via the ShutdownManager. Nix the

PresentsServer legacy shutdown stuff. We'll wire that up in the legacy servers
themselves.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5157 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-06-07 19:21:33 +00:00
parent a6842ae5e1
commit 3e73a1666e
2 changed files with 6 additions and 16 deletions
@@ -51,7 +51,6 @@ import static com.threerings.presents.Log.log;
*/
@Singleton
public class PresentsServer
implements ShutdownManager.Shutdowner
{
/** Configures dependencies needed by the Presents services. */
public static class Module extends AbstractModule
@@ -142,9 +141,6 @@ public class PresentsServer
injector.getInstance(NativeSignalHandler.class).init();
}
// register with the shutdown manager to provide legacy centralized shutdown support
_shutmgr.registerShutdowner(this);
// configure the dobject manager with our access controller
_omgr.setDefaultAccessController(createDefaultObjectAccessController());
@@ -225,11 +221,6 @@ public class PresentsServer
omgr.run();
}
// from interface ShutdownManager.Shutdowner
public void shutdown ()
{
}
/**
* Called once the invoker and distributed object manager have both completed processing all
* remaining events and are fully shutdown. <em>Note:</em> this is called as the last act of