Merge the ServerInvoker stuff into PresentsInvoker because the PresentsInvoker
is only ever used by the PresentsServer. Also determined that we need to explicitly let Guice know that CrowdServer provides the PresentsServer "interface" and so on down the line. I also think that each concrete class needs to be marked as @Singleton though I need to confirm that. Based on how annotations work, that's how it would be easiest to implement, so we'll assume they're not doing extra work on the backend to make our life easier. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5154 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -24,6 +24,8 @@ package com.threerings.presents.server;
|
||||
import java.awt.EventQueue;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.Singleton;
|
||||
|
||||
import com.threerings.presents.dobj.DEvent;
|
||||
import com.threerings.presents.dobj.DObject;
|
||||
import com.threerings.presents.dobj.DObjectManager;
|
||||
@@ -34,6 +36,7 @@ import com.threerings.presents.dobj.Subscriber;
|
||||
* that it can run in a client with a GUI and provide a "light" server for local operation of a
|
||||
* normally distributed application.
|
||||
*/
|
||||
@Singleton
|
||||
public class LocalDObjectMgr extends PresentsDObjectMgr
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user