Properly mark some singletons as such.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5156 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-06-07 19:14:10 +00:00
parent fce06c52c5
commit a6842ae5e1
3 changed files with 6 additions and 0 deletions
@@ -22,6 +22,7 @@
package com.threerings.crowd.peer.server;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.threerings.util.Name;
@@ -49,6 +50,7 @@ import com.threerings.crowd.peer.data.CrowdPeerMarshaller;
/**
* Extends the standard peer manager and bridges certain Crowd services.
*/
@Singleton
public class CrowdPeerManager extends PeerManager
implements CrowdPeerProvider, ChatProvider.ChatForwarder
{
@@ -24,6 +24,7 @@ package com.threerings.presents.server;
import java.util.Iterator;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.samskivert.util.Invoker;
import com.samskivert.util.StringUtil;
@@ -33,6 +34,7 @@ import static com.threerings.presents.Log.log;
/**
* Extends the generic {@link Invoker} and integrates it a bit more into the Presents system.
*/
@Singleton
public class PresentsInvoker extends Invoker
implements ShutdownManager.Shutdowner, ReportManager.Reporter
{
@@ -28,6 +28,7 @@ import com.google.common.collect.Lists;
import com.google.inject.Guice;
import com.google.inject.Inject;
import com.google.inject.Injector;
import com.google.inject.Singleton;
import com.threerings.bureau.data.AgentObject;
@@ -42,6 +43,7 @@ import static com.threerings.bureau.Log.log;
* TODO: add more types of testing
* TODO: allow a quitAfter configuration parameter to shut down automatically
*/
@Singleton
public class RegistryTester
{
/**