From 2ca70b3510b688c735f5563d2cbb5c7113b4aa1b Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Mon, 9 Jun 2008 00:54:20 +0000 Subject: [PATCH] Use the RootDObjectManager interface instead of the concrete class as PresentsDObjectMgr references InvocationManager. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5172 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/presents/server/InvocationManager.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/presents/server/InvocationManager.java b/src/java/com/threerings/presents/server/InvocationManager.java index 343166d7a..966b68934 100644 --- a/src/java/com/threerings/presents/server/InvocationManager.java +++ b/src/java/com/threerings/presents/server/InvocationManager.java @@ -44,6 +44,7 @@ import com.threerings.presents.dobj.DObject; import com.threerings.presents.dobj.EventListener; import com.threerings.presents.dobj.InvocationRequestEvent; import com.threerings.presents.dobj.ObjectAccessException; +import com.threerings.presents.dobj.RootDObjectManager; import com.threerings.presents.net.Transport; @@ -75,7 +76,7 @@ public class InvocationManager * operate its invocation services. Generally only one invocation manager should be operational * in a particular system. */ - @Inject public InvocationManager (PresentsDObjectMgr omgr) + @Inject public InvocationManager (RootDObjectManager omgr) { _omgr = omgr; @@ -312,8 +313,8 @@ public class InvocationManager /** Used to generate monotonically increasing provider ids. */ protected int _invCode; - /** The distribted object manager we're working with. */ - protected PresentsDObjectMgr _omgr; + /** The distributed object manager we're working with. */ + protected RootDObjectManager _omgr; /** A table of invocation dispatchers each mapped by a unique code. */ protected IntMap _dispatchers = IntMaps.newHashIntMap();