[jbosscache-commits] JBoss Cache SVN: r5542 - core/trunk/src/main/java/org/jboss/cache/interceptors.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Sat Apr 12 19:00:16 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-04-12 19:00:15 -0400 (Sat, 12 Apr 2008)
New Revision: 5542

Modified:
   core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java
Log:
Added more logging

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java	2008-04-12 22:59:56 UTC (rev 5541)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java	2008-04-12 23:00:15 UTC (rev 5542)
@@ -8,15 +8,19 @@
 
 import org.jboss.cache.InvocationContext;
 import org.jboss.cache.RPCManager;
-import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.commands.CacheCommand;
-import org.jboss.cache.commands.cachedata.*;
+import org.jboss.cache.commands.cachedata.PutDataMapCommand;
+import org.jboss.cache.commands.cachedata.PutKeyValueCommand;
+import org.jboss.cache.commands.cachedata.RemoveDataCommand;
+import org.jboss.cache.commands.cachedata.RemoveKeyCommand;
+import org.jboss.cache.commands.cachedata.RemoveNodeCommand;
 import org.jboss.cache.commands.remote.DataGravitationCleanupCommand;
 import org.jboss.cache.commands.tx.CommitCommand;
 import org.jboss.cache.commands.tx.OptimisticPrepareCommand;
 import org.jboss.cache.commands.tx.PrepareCommand;
 import org.jboss.cache.commands.tx.RollbackCommand;
 import org.jboss.cache.config.Option;
+import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.invocation.CacheTransactionHelper;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TxUtil;
@@ -103,7 +107,7 @@
       Transaction suspendedTransaction = null;
       boolean resumeSuspended = false;
 
-      if (trace) log.trace("Invoked with InvocationContext [" + ctx + "]");
+      if (trace) log.trace("Invoked with command " + command + " and InvocationContext [" + ctx + "]");
 
       try
       {




More information about the jbosscache-commits mailing list