[jboss-cvs] JBossCache/src/org/jboss/cache ...
Manik Surtani
msurtani at belmont.prod.atl2.jboss.com
Tue Aug 29 12:36:57 EDT 2006
User: msurtani
Date: 06/08/29 12:36:57
Modified: src/org/jboss/cache TreeCache.java
Log:
Fixed basic replication issues
Revision Changes Path
1.232 +8 -4 JBossCache/src/org/jboss/cache/TreeCache.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TreeCache.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCache.java,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -b -r1.231 -r1.232
--- TreeCache.java 29 Aug 2006 12:26:39 -0000 1.231
+++ TreeCache.java 29 Aug 2006 16:36:57 -0000 1.232
@@ -94,7 +94,7 @@
* @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
* @author Brian Stansberry
* @author Daniel Huang (dhuang at jboss.org)
- * @version $Id: TreeCache.java,v 1.231 2006/08/29 12:26:39 msurtani Exp $
+ * @version $Id: TreeCache.java,v 1.232 2006/08/29 16:36:57 msurtani Exp $
* <p/>
* @see <a href="http://labs.jboss.com/portal/jbosscache/docs">JBossCache doc</a>
*/
@@ -3357,7 +3357,9 @@
{
try
{
- getInvocationContext().setOriginLocal(false);
+ InvocationContext ctx = getInvocationContext();
+ ctx.setOriginLocal(false);
+ setInvocationContext(ctx);
return invokeMethod(method_call);
}
catch (Exception ex)
@@ -3367,7 +3369,9 @@
}
finally
{
- getInvocationContext().setOriginLocal(true);
+ InvocationContext ctx = getInvocationContext();
+ ctx.setOriginLocal(true);
+ setInvocationContext(ctx);
}
}
@@ -3388,7 +3392,7 @@
*/
public List _clusteredGet(MethodCall methodCall, Boolean searchBackupSubtrees)
{
- MethodCall call = (MethodCall) methodCall;
+ MethodCall call = methodCall;
if (log.isTraceEnabled()) log.trace("Clustered Get called with params: " + call + ", " + searchBackupSubtrees);
Method m = call.getMethod();
Object[] args = call.getArgs();
More information about the jboss-cvs-commits
mailing list