[jbosscache-commits] JBoss Cache SVN: r6614 - in core/trunk/src: main/java/org/jboss/cache/buddyreplication and 31 other directories.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Mon Aug 25 19:17:22 EDT 2008


Author: jason.greene at jboss.com
Date: 2008-08-25 19:17:22 -0400 (Mon, 25 Aug 2008)
New Revision: 6614

Added:
   core/trunk/src/main/java/org/jboss/cache/InvocationContext.java
Removed:
   core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContext.java
Modified:
   core/trunk/src/main/java/org/jboss/cache/AbstractNodeFactory.java
   core/trunk/src/main/java/org/jboss/cache/Cache.java
   core/trunk/src/main/java/org/jboss/cache/CacheSPI.java
   core/trunk/src/main/java/org/jboss/cache/Fqn.java
   core/trunk/src/main/java/org/jboss/cache/NodeFactory.java
   core/trunk/src/main/java/org/jboss/cache/NodeSPI.java
   core/trunk/src/main/java/org/jboss/cache/PessimisticUnversionedNode.java
   core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java
   core/trunk/src/main/java/org/jboss/cache/RegionManagerImpl.java
   core/trunk/src/main/java/org/jboss/cache/buddyreplication/Fqn2BuddyFqnVisitor.java
   core/trunk/src/main/java/org/jboss/cache/commands/AbstractVisitor.java
   core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/VisitableCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/Visitor.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/read/PessGetChildrenNamesCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/CreateNodeCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/LegacyEvictCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessClearDataCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessMoveCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutDataMapCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutForExternalReadCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutKeyValueCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveKeyCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveNodeCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/VersionedInvalidateCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/read/ExistsCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/read/GetChildrenNamesCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/read/GetDataMapCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeyValueCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeysCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/read/GetNodeCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/remote/AnnounceBuddyPoolNameCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/remote/AssignToBuddyGroupCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/remote/ClusteredGetCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/remote/RemoveFromBuddyGroupCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/remote/ReplicateCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/tx/AbstractTransactionCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/tx/CommitCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/tx/OptimisticPrepareCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/tx/PrepareCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/tx/RollbackCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/AbstractVersionedDataCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/ClearDataCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/EvictCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/InvalidateCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/MoveCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/PutDataMapCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/PutForExternalReadCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/PutKeyValueCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveKeyCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveNodeCommand.java
   core/trunk/src/main/java/org/jboss/cache/factories/context/ContextFactory.java
   core/trunk/src/main/java/org/jboss/cache/factories/context/MVCCContextFactory.java
   core/trunk/src/main/java/org/jboss/cache/factories/context/PessimisticContextFactory.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/ActivationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/BaseRpcInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/BaseTransactionalContextInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/BatchingInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/CacheLoaderInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/CacheMgmtInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/CallInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/EvictionInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/Interceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyActivationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyCacheLoaderInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyDataGravitatorInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyPassivationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/NotificationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticLockingInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticTxInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/PassivationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/ReplicationInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/base/CommandInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/base/PrePostProcessingCommandInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/interceptors/base/SkipCheckChainedInterceptor.java
   core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationContext.java
   core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationDelegate.java
   core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java
   core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContextContainer.java
   core/trunk/src/main/java/org/jboss/cache/invocation/LegacyInvocationContext.java
   core/trunk/src/main/java/org/jboss/cache/invocation/MVCCInvocationContext.java
   core/trunk/src/main/java/org/jboss/cache/invocation/NodeInvocationDelegate.java
   core/trunk/src/main/java/org/jboss/cache/lock/AbstractLockManager.java
   core/trunk/src/main/java/org/jboss/cache/lock/FqnLockManager.java
   core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java
   core/trunk/src/main/java/org/jboss/cache/lock/LockUtil.java
   core/trunk/src/main/java/org/jboss/cache/lock/MVCCLockManager.java
   core/trunk/src/main/java/org/jboss/cache/lock/NodeBasedLockManager.java
   core/trunk/src/main/java/org/jboss/cache/lock/PessimisticNodeBasedLockManager.java
   core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java
   core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java
   core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeHelper.java
   core/trunk/src/main/java/org/jboss/cache/mvcc/ReadCommittedNode.java
   core/trunk/src/main/java/org/jboss/cache/mvcc/RepeatableReadNode.java
   core/trunk/src/main/java/org/jboss/cache/notifications/Notifier.java
   core/trunk/src/main/java/org/jboss/cache/notifications/NotifierImpl.java
   core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java
   core/trunk/src/main/java/org/jboss/cache/statetransfer/LegacyStateTransferIntegrator.java
   core/trunk/src/main/java/org/jboss/cache/transaction/MVCCTransactionContext.java
   core/trunk/src/main/java/org/jboss/cache/transaction/TransactionContext.java
   core/trunk/src/main/java/org/jboss/cache/transaction/TransactionTable.java
   core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java
   core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java
   core/trunk/src/test/java/org/jboss/cache/commands/TestContextBase.java
   core/trunk/src/test/java/org/jboss/cache/commands/legacy/read/GravitateDataCommandTest.java
   core/trunk/src/test/java/org/jboss/cache/commands/legacy/write/PutDataMapCommandTest.java
   core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java
   core/trunk/src/test/java/org/jboss/cache/commands/read/GetKeyValueCommandTest.java
   core/trunk/src/test/java/org/jboss/cache/commands/write/AbstractVersionedDataCommandTest.java
   core/trunk/src/test/java/org/jboss/cache/interceptors/LegacyInterceptorTest.java
   core/trunk/src/test/java/org/jboss/cache/lock/AbstractLockManagerRecordingTest.java
   core/trunk/src/test/java/org/jboss/cache/marshall/MarshalledValueTest.java
   core/trunk/src/test/java/org/jboss/cache/mock/NodeSpiMock.java
   core/trunk/src/test/java/org/jboss/cache/notifications/NotifierTest.java
   core/trunk/src/test/java/org/jboss/cache/optimistic/ConcurrentTransactionTest.java
   core/trunk/src/test/java/org/jboss/cache/optimistic/MockFailureInterceptor.java
   core/trunk/src/test/java/org/jboss/cache/optimistic/MockInterceptor.java
   core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java
   core/trunk/src/test/java/org/jboss/cache/optimistic/ValidatorInterceptorTest.java
   core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java
   core/trunk/src/test/java/org/jboss/cache/util/internals/ReplicationListener.java
Log:
Fix more BC issues
Move InvocationContext to org.jboss.cache, where it was originally
Improve Generics usage on Fqn to be friendlier and BC


Modified: core/trunk/src/main/java/org/jboss/cache/AbstractNodeFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/AbstractNodeFactory.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/AbstractNodeFactory.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -11,7 +11,6 @@
 import org.jboss.cache.factories.ComponentRegistry;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.InterceptorChain;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.InvocationContextContainer;
 import org.jboss.cache.invocation.NodeInvocationDelegate;
 import org.jboss.cache.mvcc.ReadCommittedNode;

Modified: core/trunk/src/main/java/org/jboss/cache/Cache.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/Cache.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/Cache.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -8,7 +8,6 @@
 
 import net.jcip.annotations.ThreadSafe;
 import org.jboss.cache.config.Configuration;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jgroups.Address;
 
 import java.util.List;
@@ -352,7 +351,7 @@
    InvocationContext getInvocationContext();
 
    /**
-    * Sets the passed in {@link org.jboss.cache.invocation.InvocationContext} as current.
+    * Sets the passed in {@link org.jboss.cache.InvocationContext} as current.
     *
     * @param ctx invocation context to use
     * @throws IllegalStateException if the cache has been destroyed.

Modified: core/trunk/src/main/java/org/jboss/cache/CacheSPI.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/CacheSPI.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/CacheSPI.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -10,7 +10,6 @@
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.buddyreplication.GravitateResult;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.loader.CacheLoader;
 import org.jboss.cache.loader.CacheLoaderManager;
 import org.jboss.cache.marshall.Marshaller;

Modified: core/trunk/src/main/java/org/jboss/cache/Fqn.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/Fqn.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/Fqn.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -79,14 +79,14 @@
  */
 @Immutable
 @Compat(notes = "The generics, while originally intended to be removed in 3.0, have been retained for backward compat.")
-public class Fqn<E> implements Comparable<Fqn>, Externalizable
+public class Fqn<E> implements Comparable<Fqn<?>>, Externalizable
 {
    /**
     * Separator between FQN elements.
     */
    public static final String SEPARATOR = "/";
 
-   protected List<Object> elements;
+   protected List<E> elements;
    private transient int hash_code = 0;
    protected int size = 0;
 
@@ -121,7 +121,7 @@
     */
    @Deprecated
    @Compat
-   public Fqn(List<E> names)
+   public Fqn(List<? extends E> names)
    {
       // the list is unsafe - may be referenced externally
       this(names, false);
@@ -150,7 +150,7 @@
     */
    @Deprecated
    @Compat
-   public Fqn(Fqn<E> base, Fqn<E> relative)
+   public Fqn(Fqn<? extends E> base, Fqn<? extends E> relative)
    {
       this(base, relative.elements);
    }
@@ -164,7 +164,7 @@
     */
    @Deprecated
    @Compat
-   public Fqn(Fqn<E> base, E... childNames)
+   public Fqn(Fqn<? extends E> base, E... childNames)
    {
       this(base, Arrays.asList(childNames));
    }
@@ -183,12 +183,12 @@
    @Deprecated
    @Compat(notes = "Not truly deprecated, this constructor should really be protected and not public.  Marked as deprecated for anyone using it as a public API.")
    @SuppressWarnings("unchecked")
-   protected Fqn(List<?> names, boolean safe)
+   protected Fqn(List<? extends E> names, boolean safe)
    {
       if (names != null)
       {
          // if not safe make a defensive copy
-         elements = safe ? (List<Object>) names : Immutables.immutableListCopy(names);
+         elements = safe ? (List<E>)names : Immutables.immutableListCopy(names);
          size = elements.size();
       }
       else
@@ -198,7 +198,7 @@
       }
    }
 
-   protected Fqn(Fqn base, List<?> relative)
+   protected Fqn(Fqn<? extends E> base, List<? extends E> relative)
    {
       elements = Immutables.immutableListMerge(base.elements, relative);
       size = elements.size();
@@ -214,9 +214,9 @@
     * @since 2.2.0
     */
    @SuppressWarnings("unchecked")
-   public static <T> Fqn fromList(List<T> names)
+   public static <T> Fqn<T> fromList(List<? extends T> names)
    {
-      return new Fqn(names, false);
+      return new Fqn<T>(names, false);
    }
 
    /**
@@ -230,9 +230,9 @@
     * @return an Fqn
     */
    @SuppressWarnings("unchecked")
-   public static Fqn fromList(List<?> names, boolean safe)
+   public static <T> Fqn<T> fromList(List<? extends T> names, boolean safe)
    {
-      return new Fqn(names, safe);
+      return new Fqn<T>(names, safe);
    }
 
    /**
@@ -242,9 +242,9 @@
     * @return an Fqn
     * @since 2.2.0
     */
-   public static Fqn fromElements(Object... elements)
+   public static <T> Fqn<T> fromElements(T... elements)
    {
-      return new Fqn(Arrays.asList(elements), true);
+      return new Fqn<T>(Arrays.asList(elements), true);
    }
 
    /**
@@ -255,9 +255,9 @@
     * @return an Fqn
     * @since 2.2.0
     */
-   public static Fqn fromRelativeFqn(Fqn base, Fqn relative)
+   public static <T> Fqn<T> fromRelativeFqn(Fqn<? extends T> base, Fqn<? extends T> relative)
    {
-      return new Fqn(base, relative.elements);
+      return new Fqn<T>(base, relative.elements);
    }
 
    /**
@@ -268,9 +268,9 @@
     * @return an Fqn
     * @since 2.2.0
     */
-   public static Fqn fromRelativeList(Fqn base, List<?> relativeElements)
+   public static <T> Fqn<T> fromRelativeList(Fqn<? extends T> base, List<? extends T> relativeElements)
    {
-      return new Fqn(base, relativeElements);
+      return new Fqn<T>(base, relativeElements);
    }
 
    /**
@@ -281,9 +281,9 @@
     * @return an Fqn
     * @since 2.2.0
     */
-   public static Fqn fromRelativeElements(Fqn base, Object... relativeElements)
+   public static <T> Fqn<T> fromRelativeElements(Fqn<? extends T> base, T... relativeElements)
    {
-      return new Fqn(base, Arrays.asList(relativeElements));
+      return new Fqn<T>(base, Arrays.asList(relativeElements));
    }
 
    /**
@@ -302,7 +302,7 @@
     * @return an Fqn<String> constructed from the string representation passed in
     */
    @SuppressWarnings("unchecked")
-   public static Fqn fromString(String stringRepresentation)
+   public static Fqn<String> fromString(String stringRepresentation)
    {
       if (stringRepresentation == null || stringRepresentation.equals(SEPARATOR) || stringRepresentation.equals(""))
          return root();
@@ -321,9 +321,9 @@
     * @throws ClassNotFoundException in the event of classes that comprise the element list of this Fqn not being found
     * @since 2.2.0
     */
-   public static Fqn fromExternalStream(ObjectInput in) throws IOException, ClassNotFoundException
+   public static Fqn<?> fromExternalStream(ObjectInput in) throws IOException, ClassNotFoundException
    {
-      Fqn f = new Fqn();
+      Fqn<?> f = new Fqn<Object>();
       f.readExternal(in);
       return f;
    }
@@ -352,7 +352,7 @@
     * @param generation the generation of the ancestor to retrieve
     * @return an ancestor of the current Fqn
     */
-   public Fqn getAncestor(int generation)
+   public Fqn<E> getAncestor(int generation)
    {
       if (generation == 0) return root();
       return getSubFqn(0, generation);
@@ -365,10 +365,10 @@
     * @param endIndex   end index
     * @return a subFqn
     */
-   public Fqn getSubFqn(int startIndex, int endIndex)
+   public Fqn<E> getSubFqn(int startIndex, int endIndex)
    {
-      List<Object> el = elements.subList(startIndex, endIndex);
-      return new Fqn(el, true);
+      List<E> el = elements.subList(startIndex, endIndex);
+      return new Fqn<E>(el, true);
    }
 
    /**
@@ -421,7 +421,7 @@
       {
          return false;
       }
-      Fqn other = (Fqn) obj;
+      Fqn<?> other = (Fqn<?>) obj;
       return size == other.size() && elements.equals(other.elements);
    }
 
@@ -470,8 +470,8 @@
    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
    {
       size = in.readShort();
-      this.elements = new ArrayList<Object>(size);
-      for (int i = 0; i < size; i++) elements.add(in.readObject());
+      this.elements = new ArrayList<E>(size);
+      for (int i = 0; i < size; i++) elements.add((E)in.readObject());
    }
 
 
@@ -489,7 +489,7 @@
     * @param parentFqn candidate parent to test against
     * @return true if the target is a child of parentFqn
     */
-   public boolean isChildOf(Fqn parentFqn)
+   public boolean isChildOf(Fqn<? super E> parentFqn)
    {
       return parentFqn.size() != size && isChildOrEquals(parentFqn);
    }
@@ -501,7 +501,7 @@
     * @param parentFqn parentFqn to compare with
     * @return true if this is a direct child, false otherwise.
     */
-   public boolean isDirectChildOf(Fqn parentFqn)
+   public boolean isDirectChildOf(Fqn<? super E> parentFqn)
    {
       return size == parentFqn.size() + 1 && isChildOf(parentFqn);
    }
@@ -520,9 +520,9 @@
     * @param parentFqn candidate parent to test against
     * @return true if this Fqn is equals or the child of parentFqn.
     */
-   public boolean isChildOrEquals(Fqn parentFqn)
+   public boolean isChildOrEquals(Fqn<? super E> parentFqn)
    {
-      List<Object> parentList = parentFqn.elements;
+      List<? super E> parentList = parentFqn.elements;
       if (parentList.size() > size)
       {
          return false;
@@ -550,7 +550,7 @@
       return hashCode;
    }
 
-   protected String getStringRepresentation(List<Object> elements)
+   protected String getStringRepresentation(List<E> elements)
    {
       StringBuilder builder = new StringBuilder();
       for (Object e : elements)
@@ -580,7 +580,7 @@
     *
     * @return the parent Fqn
     */
-   public Fqn getParent()
+   public Fqn<E> getParent()
    {
       switch (size)
       {
@@ -592,7 +592,7 @@
       }
    }
 
-   public static final Fqn root()  // declared final so compilers can optimise and in-line.
+   public static final <T> Fqn<T> root()  // declared final so compilers can optimise and in-line.
    {
       return ROOT;
    }
@@ -634,7 +634,7 @@
     *
     * @return an unmodifiable list
     */
-   public List<Object> peekElements()
+   public List<E> peekElements()
    {
       return elements;
    }
@@ -642,7 +642,7 @@
    /**
     * Compares this Fqn to another using {@link FqnComparator}.
     */
-   public int compareTo(Fqn fqn)
+   public int compareTo(Fqn<?> fqn)
    {
       return FqnComparator.INSTANCE.compare(this, fqn);
    }
@@ -654,11 +654,11 @@
     * @param newAncestor nw ancestor to replace with
     * @return a new Fqn with ancestors replaced.
     */
-   public Fqn replaceAncestor(Fqn oldAncestor, Fqn newAncestor)
+   public Fqn<E> replaceAncestor(Fqn<E> oldAncestor, Fqn<E> newAncestor)
    {
       if (!isChildOf(oldAncestor))
          throw new IllegalArgumentException("Old ancestor must be an ancestor of the current Fqn!");
-      Fqn subFqn = this.getSubFqn(oldAncestor.size(), size());
+      Fqn<E> subFqn = this.getSubFqn(oldAncestor.size(), size());
       return Fqn.fromRelativeFqn(newAncestor, subFqn);
    }
 }
\ No newline at end of file

Copied: core/trunk/src/main/java/org/jboss/cache/InvocationContext.java (from rev 6611, core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContext.java)
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/InvocationContext.java	                        (rev 0)
+++ core/trunk/src/main/java/org/jboss/cache/InvocationContext.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -0,0 +1,314 @@
+package org.jboss.cache;
+
+import org.jboss.cache.commands.VisitableCommand;
+import org.jboss.cache.config.Option;
+import org.jboss.cache.marshall.MethodCall;
+import org.jboss.cache.transaction.GlobalTransaction;
+import org.jboss.cache.transaction.TransactionContext;
+
+import javax.transaction.Transaction;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * A context that holds information regarding the scope of a single invocation.  May delegate some calls to a {@link org.jboss.cache.transaction.TransactionContext}
+ * if one is in scope.
+ * <p/>
+ * Note that prior to 3.0.0, InvocationContext was a concrete class and not an interface.
+ * <p/>
+ *
+ * @author Manik Surtani (<a href="mailto:manik at jboss.org">manik at jboss.org</a>)
+ * @see org.jboss.cache.transaction.TransactionContext
+ */
+ at SuppressWarnings("deprecation")
+public interface InvocationContext
+{
+   /**
+    * Retrieves a node from the registry of looked up nodes in the current scope.
+    *
+    * @param fqn fqn to look up
+    * @return a node, or null if it cannot be found.
+    * @since 3.0.
+    */
+   NodeSPI lookUpNode(Fqn fqn);
+
+   /**
+    * Puts an entry in the registry of looked up nodes in the current scope.
+    *
+    * @param f fqn to add
+    * @param n node to add
+    * @since 3.0.
+    */
+   void putLookedUpNode(Fqn f, NodeSPI n);
+
+   /**
+    * Clears the registry of looked up nodes.
+    *
+    * @since 3.0.
+    */
+   void clearLookedUpNodes();
+
+   /**
+    * Retrieves a map of nodes looked up within the current invocation's scope.
+    *
+    * @return a map of looked up nodes.
+    * @since 3.0
+    */
+   Map<Fqn, NodeSPI> getLookedUpNodes();
+
+   /**
+    * Marks teh context as only rolling back.
+    *
+    * @param localRollbackOnly if true, the context is only rolling back.
+    */
+   void setLocalRollbackOnly(boolean localRollbackOnly);
+
+   /**
+    * Retrieves the transaction associated with this invocation
+    *
+    * @return The transaction associated with this invocation
+    */
+   Transaction getTransaction();
+
+   /**
+    * Sets a transaction object on the invocation context.
+    *
+    * @param transaction transaction to set
+    */
+   void setTransaction(Transaction transaction);
+
+   /**
+    * @return the transaction entry associated with the current transaction, or null if the current thread is not associated with a transaction.
+    * @since 2.2.0
+    */
+   TransactionContext getTransactionContext();
+
+   /**
+    * Sets the transaction context to be associated with the current thread.
+    *
+    * @param transactionContext transaction context to set
+    * @since 2.2.0
+    */
+   void setTransactionContext(TransactionContext transactionContext);
+
+   /**
+    * Retrieves the global transaction associated with this invocation
+    *
+    * @return the global transaction associated with this invocation
+    */
+   GlobalTransaction getGlobalTransaction();
+
+   /**
+    * Sets the global transaction associated with this invocation
+    *
+    * @param globalTransaction global transaction to set
+    */
+   void setGlobalTransaction(GlobalTransaction globalTransaction);
+
+   /**
+    * Retrieves the option overrides associated with this invocation
+    *
+    * @return the option overrides associated with this invocation
+    */
+   Option getOptionOverrides();
+
+   /**
+    * @return true of no options have been set on this context, false otherwise.
+    */
+   boolean isOptionsUninitialised();
+
+   /**
+    * Sets the option overrides to be associated with this invocation
+    *
+    * @param optionOverrides options to set
+    */
+   void setOptionOverrides(Option optionOverrides);
+
+   /**
+    * Tests if this invocation originated locally or from a remote cache.
+    *
+    * @return true if the invocation originated locally.
+    */
+   boolean isOriginLocal();
+
+   /**
+    * Returns an immutable,  defensive copy of the List of locks currently maintained for the current scope.
+    * <p/>
+    * Note that if a transaction is in scope, implementations should retrieve these locks from the {@link org.jboss.cache.transaction.TransactionContext}.
+    * Retrieving locks from this method should always ensure they are retrieved from  the appropriate scope.
+    * <p/>
+    * Note that currently (as of 3.0.0) this list is unchecked.  This is to allow support for both MVCC (which uses Fqns as locks)
+    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
+    * legacy node locking schemes are dropped, this method will be more strongly typed to return <tt>List<Fqn></tt>.
+    *
+    * @return locks held in current scope.
+    */
+   @SuppressWarnings("unchecked")
+   List getLocks();
+
+   /**
+    * Adds a List of locks to the currently maintained collection of locks acquired.
+    * <p/>
+    * Note that if a transaction is in scope, implementations should record locks on the {@link org.jboss.cache.transaction.TransactionContext}.
+    * Adding locks using this method should always ensure they are applied to the appropriate scope.
+    * <p/>
+    * Note that currently (as of 3.0.0) this list is unchecked.  This is to allow support for both MVCC (which uses Fqns as locks)
+    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
+    * legacy node locking schemes are dropped, this method will be more strongly typed to accept <tt>List<Fqn></tt>.
+    *
+    * @param locks locks to add
+    */
+   @SuppressWarnings("unchecked")
+   void addAllLocks(List locks);
+
+   /**
+    * Adds a lock to the currently maintained collection of locks acquired.
+    * <p/>
+    * Note that if a transaction is in scope, implementations should record this lock on the {@link org.jboss.cache.transaction.TransactionContext}.
+    * Using this method should always ensure that the appropriate scope is used.
+    * <p/>
+    * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link Fqn}s as locks)
+    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
+    * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link Fqn}.
+    *
+    * @param lock lock to add
+    */
+   @SuppressWarnings("unchecked")
+   void addLock(Object lock);
+
+   /**
+    * Removes a lock from the currently maintained collection of locks acquired.
+    * <p/>
+    * Note that if a transaction is in scope, implementations should remove this lock from the {@link org.jboss.cache.transaction.TransactionContext}.
+    * Using this method should always ensure that the lock is removed from the appropriate scope.
+    * <p/>
+    * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link Fqn}s as locks)
+    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
+    * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link Fqn}.
+    *
+    * @param lock lock to remove
+    */
+   @SuppressWarnings("unchecked")
+   void removeLock(Object lock);
+
+   /**
+    * Clears all locks from the currently maintained collection of locks acquired.
+    * <p/>
+    * Note that if a transaction is in scope, implementations should clear locks from the {@link org.jboss.cache.transaction.TransactionContext}.
+    * Using this method should always ensure locks are cleared in the appropriate scope.
+    * <p/>
+    * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link Fqn}s as locks)
+    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
+    * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link Fqn}.
+    */
+   void clearLocks();
+
+
+   /**
+    * Note that if a transaction is in scope, implementations should test this lock from on {@link org.jboss.cache.transaction.TransactionContext}.
+    * Using this method should always ensure locks checked in the appropriate scope.
+    *
+    * @param lock lock to test
+    * @return true if the lock being tested is already held in the current scope, false otherwise.
+    */
+   boolean hasLock(Object lock);
+
+   /**
+    * @return true if options exist to suppress locking - false otherwise.  Note that this is only used by the {@link org.jboss.cache.interceptors.PessimisticLockInterceptor}.
+    */
+   boolean isLockingSuppressed();
+
+   /**
+    * If set to true, the invocation is assumed to have originated locally.  If set to false,
+    * assumed to have originated from a remote cache.
+    *
+    * @param originLocal flag to set
+    */
+   void setOriginLocal(boolean originLocal);
+
+   /**
+    * @return true if the current transaction is set to rollback only.
+    */
+   boolean isLocalRollbackOnly();
+
+   /**
+    * Resets the context, freeing up any references.
+    */
+   void reset();
+
+   /**
+    * This is a "copy-factory-method" that should be used whenever a clone of this class is needed.  The resulting instance
+    * is equal() to, but not ==, to the InvocationContext invoked on.  Note that this is a shallow copy with the exception
+    * of the Option object, which is deep, as well as any collections held on the context such as locks.  Note that the reference
+    * to a {@link org.jboss.cache.transaction.TransactionContext}, if any, is maintained.
+    *
+    * @return a new InvocationContext
+    */
+   @SuppressWarnings("unchecked")
+   InvocationContext copy();
+
+   /**
+    * Sets the state of the InvocationContext based on the template context passed in
+    *
+    * @param template template to copy from
+    */
+   void setState(InvocationContext template);
+
+   /**
+    * @return the method call associated with this invocation
+    */
+   @Deprecated
+   @SuppressWarnings("deprecation")
+   MethodCall getMethodCall();
+
+
+   /**
+    * Sets the method call associated with this invocation.
+    *
+    * @param methodCall methodcall to set
+    * @deprecated not used anymore.  Interceptors will get a {@link org.jboss.cache.commands.ReplicableCommand} instance passed in along with an InvocationContext.
+    */
+   @Deprecated
+   void setMethodCall(MethodCall methodCall);
+
+   /**
+    * If the lock acquisition timeout is overridden for current call using an option, then return that one.
+    * If not overridden, return default value.
+    *
+    * @param defaultTimeout timeout to fall back to
+    * @return timeout to use
+    */
+   long getLockAcquisitionTimeout(long defaultTimeout);
+
+   /**
+    * This is only used for backward compatibility with old interceptors implementation and should <b>NOT</b> be
+    * use by any new custom interceptors. The commands is now passed in as the second param in each implementing
+    * handlers (handler = method in ChainedInterceptor class)
+    *
+    * @param cacheCommand command to set
+    */
+   @Deprecated
+   @SuppressWarnings("deprecation")
+   void setCommand(VisitableCommand cacheCommand);
+
+   /**
+    * @return command that is in scope
+    * @see #setCommand(org.jboss.cache.commands.VisitableCommand)
+    */
+   @Deprecated
+   @SuppressWarnings("deprecation")
+   VisitableCommand getCommand();
+
+   /**
+    * @return true if there is current transaction associated with the invocation, and this transaction is in a valid state.
+    */
+   boolean isValidTransaction();
+
+   /**
+    * Throws the given throwable provided no options suppress or prevent this from happening.
+    *
+    * @param throwable throwable to throw
+    * @throws Throwable if allowed to throw one.
+    */
+   void throwIfNeeded(Throwable throwable) throws Throwable;
+}

Modified: core/trunk/src/main/java/org/jboss/cache/NodeFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/NodeFactory.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/NodeFactory.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,5 @@
 package org.jboss.cache;
 
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.mvcc.ReadCommittedNode;
 import org.jboss.cache.optimistic.TransactionWorkspace;
 import org.jboss.cache.optimistic.WorkspaceNode;

Modified: core/trunk/src/main/java/org/jboss/cache/NodeSPI.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/NodeSPI.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/NodeSPI.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -7,7 +7,6 @@
 package org.jboss.cache;
 
 import net.jcip.annotations.NotThreadSafe;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.NodeLock;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/main/java/org/jboss/cache/PessimisticUnversionedNode.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/PessimisticUnversionedNode.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/PessimisticUnversionedNode.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -10,7 +10,6 @@
 
 import org.jboss.cache.commands.CommandsFactory;
 import org.jboss.cache.commands.legacy.write.CreateNodeCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.IdentityLock;
 import org.jboss.cache.lock.LockStrategyFactory;
 import org.jboss.cache.marshall.MarshalledValue;

Modified: core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -17,7 +17,6 @@
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.factories.annotations.Stop;
 import org.jboss.cache.interceptors.InterceptorChain;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.InvocationContextContainer;
 import org.jboss.cache.lock.LockManager;
 import org.jboss.cache.lock.LockUtil;

Modified: core/trunk/src/main/java/org/jboss/cache/RegionManagerImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/RegionManagerImpl.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/RegionManagerImpl.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -15,7 +15,6 @@
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.factories.annotations.Stop;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.LockManager;
 import static org.jboss.cache.lock.LockType.WRITE;
 import org.jboss.cache.util.concurrent.locks.LockContainer;

Modified: core/trunk/src/main/java/org/jboss/cache/buddyreplication/Fqn2BuddyFqnVisitor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/buddyreplication/Fqn2BuddyFqnVisitor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/buddyreplication/Fqn2BuddyFqnVisitor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,7 @@
 package org.jboss.cache.buddyreplication;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.AbstractVisitor;
 import org.jboss.cache.commands.CommandsFactory;
 import org.jboss.cache.commands.WriteCommand;
@@ -25,7 +26,6 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.ArrayList;
 import java.util.List;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/AbstractVisitor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/AbstractVisitor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/AbstractVisitor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.commands;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.legacy.write.CreateNodeCommand;
 import org.jboss.cache.commands.read.ExistsCommand;
 import org.jboss.cache.commands.read.GetChildrenNamesCommand;
@@ -21,7 +22,6 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.Collection;
 

Modified: core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,6 @@
 package org.jboss.cache.commands;
 
-import org.jboss.cache.invocation.InvocationContext;
+import org.jboss.cache.InvocationContext;
 
 /**
  * The core of the command-based cache framework.  Commands correspond to specific areas of functionality in the cache,

Modified: core/trunk/src/main/java/org/jboss/cache/commands/VisitableCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/VisitableCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/VisitableCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,6 @@
 package org.jboss.cache.commands;
 
-import org.jboss.cache.invocation.InvocationContext;
+import org.jboss.cache.InvocationContext;
 
 /**
  * A type of command that can accept {@link org.jboss.cache.commands.Visitor}s, such as {@link org.jboss.cache.interceptors.base.CommandInterceptor}s.

Modified: core/trunk/src/main/java/org/jboss/cache/commands/Visitor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/Visitor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/Visitor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.commands;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.legacy.write.CreateNodeCommand;
 import org.jboss.cache.commands.read.ExistsCommand;
 import org.jboss.cache.commands.read.GetChildrenNamesCommand;
@@ -21,7 +22,6 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * This interface is the core of JBoss Cache, where each {@link VisitableCommand} can be visited by a Visitor implementation.

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/read/PessGetChildrenNamesCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/read/PessGetChildrenNamesCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/read/PessGetChildrenNamesCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.commands.legacy.read;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.read.GetChildrenNamesCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.Collection;
 import java.util.Collections;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/CreateNodeCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/CreateNodeCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/CreateNodeCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,12 +1,12 @@
 package org.jboss.cache.commands.legacy.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
 import org.jboss.cache.commands.WriteCommand;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.read.AbstractDataCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 import java.util.LinkedList;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/LegacyEvictCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/LegacyEvictCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/LegacyEvictCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.commands.legacy.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.write.EvictCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.Collection;
 

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessClearDataCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessClearDataCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessClearDataCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.commands.legacy.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.write.ClearDataCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 import java.util.HashMap;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessMoveCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessMoveCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessMoveCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,11 +1,11 @@
 package org.jboss.cache.commands.legacy.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeNotExistsException;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.write.MoveCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * A version of {@link org.jboss.cache.commands.write.MoveCommand} which can be rolled back, for use with

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutDataMapCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutDataMapCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutDataMapCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.commands.legacy.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.write.PutDataMapCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 import java.util.HashMap;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutForExternalReadCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutForExternalReadCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutForExternalReadCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,10 +2,10 @@
 
 import org.jboss.cache.CacheException;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.write.PutForExternalReadCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutKeyValueCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutKeyValueCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessPutKeyValueCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,10 +2,10 @@
 
 import org.jboss.cache.CacheException;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.write.PutKeyValueCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveKeyCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveKeyCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveKeyCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.commands.legacy.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.write.RemoveKeyCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveNodeCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveNodeCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/PessRemoveNodeCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.commands.legacy.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.legacy.ReversibleCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 import java.util.HashMap;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/VersionedInvalidateCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/VersionedInvalidateCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/legacy/write/VersionedInvalidateCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,11 +4,11 @@
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.CacheException;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.VersionedDataCommand;
 import org.jboss.cache.commands.write.InvalidateCommand;
 import org.jboss.cache.config.Option;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.optimistic.DataVersioningException;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/read/ExistsCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/read/ExistsCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/read/ExistsCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.commands.read;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * Checks whether a given node exists in current in-memory state of the cache.

Modified: core/trunk/src/main/java/org/jboss/cache/commands/read/GetChildrenNamesCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/read/GetChildrenNamesCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/read/GetChildrenNamesCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,9 +4,9 @@
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.mvcc.ReadCommittedNode;
 
 import java.util.Collection;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/read/GetDataMapCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/read/GetDataMapCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/read/GetDataMapCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.commands.read;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.util.Immutables;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeyValueCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeyValueCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeyValueCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,9 +4,9 @@
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.Notifier;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeysCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeysCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/read/GetKeysCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.commands.read;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * Implements functionality defined by {@link org.jboss.cache.Cache#getKeys(org.jboss.cache.Fqn)}

Modified: core/trunk/src/main/java/org/jboss/cache/commands/read/GetNodeCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/read/GetNodeCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/read/GetNodeCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,9 +3,9 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * Implements functionality defined by {@link org.jboss.cache.Cache#getNode(org.jboss.cache.Fqn)}

Modified: core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/read/GravitateDataCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -6,13 +6,13 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.buddyreplication.BuddyFqnTransformer;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.buddyreplication.GravitateResult;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.marshall.NodeData;
 import org.jgroups.Address;
 

Modified: core/trunk/src/main/java/org/jboss/cache/commands/remote/AnnounceBuddyPoolNameCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/remote/AnnounceBuddyPoolNameCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/remote/AnnounceBuddyPoolNameCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,9 +2,9 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.commands.ReplicableCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jgroups.Address;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/remote/AssignToBuddyGroupCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/remote/AssignToBuddyGroupCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/remote/AssignToBuddyGroupCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.commands.remote;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyGroup;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.commands.ReplicableCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.Arrays;
 import java.util.Map;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/remote/ClusteredGetCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/remote/ClusteredGetCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/remote/ClusteredGetCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,13 +3,13 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.DataContainer;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.DataCommand;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.read.ExistsCommand;
 import org.jboss.cache.commands.read.GetChildrenNamesCommand;
 import org.jboss.cache.commands.read.GetDataMapCommand;
 import org.jboss.cache.interceptors.InterceptorChain;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.ArrayList;
 import java.util.Collections;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/remote/DataGravitationCleanupCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,6 +4,7 @@
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyFqnTransformer;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.commands.CommandsFactory;
@@ -11,7 +12,6 @@
 import org.jboss.cache.commands.write.EvictCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.interceptors.InterceptorChain;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionTable;
 

Modified: core/trunk/src/main/java/org/jboss/cache/commands/remote/RemoveFromBuddyGroupCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/remote/RemoveFromBuddyGroupCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/remote/RemoveFromBuddyGroupCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.commands.remote;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.commands.ReplicableCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * Removes a buddy from a group.  This is not a {@link org.jboss.cache.commands.VisitableCommand} and hence

Modified: core/trunk/src/main/java/org/jboss/cache/commands/remote/ReplicateCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/remote/ReplicateCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/remote/ReplicateCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,12 +2,12 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.read.GravitateDataCommand;
 import org.jboss.cache.commands.write.PutForExternalReadCommand;
 import org.jboss.cache.interceptors.InterceptorChain;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.ArrayList;
 import java.util.List;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/tx/AbstractTransactionCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/tx/AbstractTransactionCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/tx/AbstractTransactionCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,7 +1,7 @@
 package org.jboss.cache.commands.tx;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.VisitableCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/tx/CommitCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/tx/CommitCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/tx/CommitCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,7 +1,7 @@
 package org.jboss.cache.commands.tx;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/tx/OptimisticPrepareCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/tx/OptimisticPrepareCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/tx/OptimisticPrepareCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.commands.tx;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.Visitor;
 import org.jboss.cache.commands.WriteCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jgroups.Address;
 

Modified: core/trunk/src/main/java/org/jboss/cache/commands/tx/PrepareCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/tx/PrepareCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/tx/PrepareCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.commands.tx;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.Visitor;
 import org.jboss.cache.commands.WriteCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jgroups.Address;
 

Modified: core/trunk/src/main/java/org/jboss/cache/commands/tx/RollbackCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/tx/RollbackCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/tx/RollbackCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,7 +1,7 @@
 package org.jboss.cache.commands.tx;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/AbstractVersionedDataCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/AbstractVersionedDataCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/AbstractVersionedDataCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,10 +2,10 @@
 
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.VersionedDataCommand;
 import org.jboss.cache.commands.read.AbstractDataCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.Notifier;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.optimistic.DataVersioningException;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/ClearDataCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/ClearDataCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/ClearDataCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,9 +3,9 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.event.NodeModifiedEvent;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/EvictCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/EvictCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/EvictCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,10 +5,10 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
 import org.jboss.cache.commands.read.AbstractDataCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.mvcc.ReadCommittedNode;
 import org.jboss.cache.notifications.Notifier;
 
@@ -62,7 +62,7 @@
    /**
     * Evicts a node.
     * <p/>
-    * See {@link org.jboss.cache.interceptors.EvictionInterceptor#visitEvictFqnCommand(org.jboss.cache.invocation.InvocationContext , EvictCommand)}
+    * See {@link org.jboss.cache.interceptors.EvictionInterceptor#visitEvictFqnCommand(org.jboss.cache.InvocationContext , EvictCommand)}
     * which is where the return value is used
     *
     * @return true if the node was removed from the tree or if it is resident.  Returns false if the node still exists; i.e. was only data removed because it still has children.

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/InvalidateCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/InvalidateCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/InvalidateCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,10 +5,10 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
 import org.jboss.cache.commands.read.AbstractDataCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.Notifier;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/MoveCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/MoveCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/MoveCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,11 +5,11 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
 import org.jboss.cache.commands.WriteCommand;
 import org.jboss.cache.commands.read.AbstractDataCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.Notifier;
 import org.jboss.cache.transaction.GlobalTransaction;
 

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/PutDataMapCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/PutDataMapCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/PutDataMapCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,10 +3,10 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeNotExistsException;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.event.NodeModifiedEvent;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/PutForExternalReadCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/PutForExternalReadCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/PutForExternalReadCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.commands.write;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/PutKeyValueCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/PutKeyValueCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/PutKeyValueCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,10 +3,10 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeNotExistsException;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.event.NodeModifiedEvent;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveKeyCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveKeyCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveKeyCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,9 +3,9 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.event.NodeModifiedEvent;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveNodeCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveNodeCommand.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/commands/write/RemoveNodeCommand.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,9 +3,9 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.Visitor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.transaction.GlobalTransaction;
 

Modified: core/trunk/src/main/java/org/jboss/cache/factories/context/ContextFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/context/ContextFactory.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/factories/context/ContextFactory.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,6 @@
 package org.jboss.cache.factories.context;
 
-import org.jboss.cache.invocation.InvocationContext;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.transaction.TransactionContext;
 
 import javax.transaction.RollbackException;
@@ -8,7 +8,7 @@
 import javax.transaction.Transaction;
 
 /**
- * This is the factory responsible for creating {@link org.jboss.cache.invocation.InvocationContext}s and {@link org.jboss.cache.transaction.TransactionContext}s
+ * This is the factory responsible for creating {@link org.jboss.cache.InvocationContext}s and {@link org.jboss.cache.transaction.TransactionContext}s
  * for requests, based on the configuration used.
  *
  * @author Manik Surtani (<a href="mailto:manik at jboss.org">manik at jboss.org</a>)

Modified: core/trunk/src/main/java/org/jboss/cache/factories/context/MVCCContextFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/context/MVCCContextFactory.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/factories/context/MVCCContextFactory.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,6 @@
 package org.jboss.cache.factories.context;
 
-import org.jboss.cache.invocation.InvocationContext;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.invocation.MVCCInvocationContext;
 import org.jboss.cache.transaction.MVCCTransactionContext;
 import org.jboss.cache.transaction.TransactionContext;

Modified: core/trunk/src/main/java/org/jboss/cache/factories/context/PessimisticContextFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/context/PessimisticContextFactory.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/factories/context/PessimisticContextFactory.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.factories.context;
 
 import org.jboss.cache.DataContainer;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.LegacyInvocationContext;
 import org.jboss.cache.transaction.PessimisticTransactionContext;
 import org.jboss.cache.transaction.TransactionContext;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/ActivationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/ActivationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/ActivationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,6 +2,7 @@
 
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Modification;
 import org.jboss.cache.jmx.annotations.ManagedAttribute;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
@@ -21,7 +22,6 @@
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionContext;
 

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/BaseRpcInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/BaseRpcInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/BaseRpcInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,6 +3,7 @@
  */
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.RPCManager;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.cluster.ReplicationQueue;
@@ -13,7 +14,6 @@
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionContext;
 import org.jboss.cache.transaction.TransactionTable;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/BaseTransactionalContextInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/BaseTransactionalContextInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/BaseTransactionalContextInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.config.Option;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionContext;
 import org.jboss.cache.transaction.TransactionTable;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/BatchingInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/BatchingInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/BatchingInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.batch.BatchContainer;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 
 import javax.transaction.Transaction;
 import javax.transaction.TransactionManager;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/CacheLoaderInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/CacheLoaderInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/CacheLoaderInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,6 +4,7 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.jmx.annotations.ManagedAttribute;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
@@ -26,7 +27,6 @@
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.JmxStatsCommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.loader.CacheLoader;
 import org.jboss.cache.loader.CacheLoaderManager;
 import org.jboss.cache.mvcc.MVCCNodeHelper;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/CacheMgmtInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/CacheMgmtInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/CacheMgmtInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -22,6 +22,7 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.DataContainer;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.jmx.annotations.ManagedAttribute;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
 import org.jboss.cache.commands.read.GetKeyValueCommand;
@@ -31,7 +32,6 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.base.JmxStatsCommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.HashMap;
 import java.util.Map;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,6 +2,7 @@
 
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Modification;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
@@ -25,7 +26,6 @@
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.SkipCheckChainedInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.loader.CacheLoader;
 import org.jboss.cache.loader.CacheLoaderManager;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/CallInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/CallInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/CallInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.WriteCommand;
@@ -17,7 +18,6 @@
 import org.jboss.cache.config.Configuration.NodeLockingScheme;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 
 import javax.transaction.Transaction;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/DataGravitatorInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.mvcc.MVCCNodeHelper;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/EvictionInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/EvictionInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/EvictionInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -9,6 +9,7 @@
 
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Region;
 import org.jboss.cache.RegionManager;
 import org.jboss.cache.commands.read.GetDataMapCommand;
@@ -25,7 +26,6 @@
 import static org.jboss.cache.eviction.EvictionEvent.Type.*;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * Eviction Interceptor.

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/Interceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/Interceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/Interceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -22,11 +22,11 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.CacheSPI;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * Class representing an interceptor.
@@ -62,7 +62,7 @@
    /**
     * Using this method call for forwarding a call in the chain is not redable and error prone in the case of interceptors
     * extending other interceptors. This metod rather refers to interceptor doing its business operations rather than
-    * delegating to the nextInterceptor interceptor in chain. For delegation please use {@link #nextInterceptor(org.jboss.cache.invocation.InvocationContext)}
+    * delegating to the nextInterceptor interceptor in chain. For delegation please use {@link #nextInterceptor(org.jboss.cache.InvocationContext)}
     */
    public Object invoke(InvocationContext ctx) throws Throwable
    {

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,11 +3,11 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.CacheException;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.InvocationContextContainer;
 import org.jboss.cache.util.CachePrinter;
 
@@ -258,7 +258,7 @@
    }
 
    /**
-    * Similar to {@link #invoke(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)}, but
+    * Similar to {@link #invoke(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)}, but
     * constructs a invocation context on the fly, using {@link InvocationContextContainer#get()}
     */
    public Object invokeRemote(VisitableCommand cacheCommand) throws Throwable
@@ -269,7 +269,7 @@
    }
 
    /**
-    * Similar to {@link #invoke(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)}, but
+    * Similar to {@link #invoke(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)}, but
     * constructs a invocation context on the fly, using {@link InvocationContextContainer#get()} and setting the origin local flag to it's default value.
     */
    public Object invoke(VisitableCommand cacheCommand) throws Throwable

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -7,6 +7,7 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
 import org.jboss.cache.jmx.annotations.ManagedAttribute;
 import org.jboss.cache.commands.AbstractVisitor;
@@ -30,7 +31,6 @@
 import org.jboss.cache.config.Option;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.optimistic.DefaultDataVersion;
 import org.jboss.cache.optimistic.TransactionWorkspace;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/InvocationContextInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -6,6 +6,7 @@
  */
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.RPCManager;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.read.ExistsCommand;
@@ -21,7 +22,6 @@
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.config.Option;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionTable;
 

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyActivationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyActivationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyActivationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,7 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Modification;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
@@ -20,7 +21,6 @@
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionContext;
 

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyCacheLoaderInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyCacheLoaderInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyCacheLoaderInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,6 +3,7 @@
 import org.jboss.cache.CacheException;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.WriteCommand;
 import org.jboss.cache.commands.read.*;
@@ -14,7 +15,6 @@
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.JmxStatsCommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.jmx.annotations.ManagedAttribute;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
 import org.jboss.cache.loader.CacheLoader;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyDataGravitatorInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyDataGravitatorInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyDataGravitatorInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -10,6 +10,7 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyFqnTransformer;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.buddyreplication.GravitateResult;
@@ -27,7 +28,6 @@
 import org.jboss.cache.commands.tx.CommitCommand;
 import org.jboss.cache.commands.tx.RollbackCommand;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.marshall.NodeData;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jgroups.Address;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyPassivationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyPassivationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/LegacyPassivationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,9 +2,9 @@
 
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.write.EvictCommand;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.List;
 

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,6 +3,7 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.read.ExistsCommand;
@@ -26,7 +27,6 @@
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.base.PrePostProcessingCommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.LockManager;
 import org.jboss.cache.mvcc.MVCCNodeHelper;
 

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/MarshalledValueInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.read.GetChildrenNamesCommand;
 import org.jboss.cache.commands.read.GetDataMapCommand;
@@ -12,7 +13,6 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.marshall.MarshalledValue;
 import org.jboss.cache.marshall.MarshalledValueHelper;
 import org.jboss.cache.marshall.MarshalledValueMap;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/NotificationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/NotificationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/NotificationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.tx.CommitCommand;
 import org.jboss.cache.commands.tx.PrepareCommand;
 import org.jboss.cache.commands.tx.RollbackCommand;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.Notifier;
 
 /**

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -10,6 +10,7 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeFactory;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.write.MoveCommand;
@@ -18,7 +19,6 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.Notifier;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.optimistic.DefaultDataVersion;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -8,11 +8,11 @@
 
 import org.jboss.cache.CacheException;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeFactory;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.LockManager;
 import static org.jboss.cache.lock.LockType.READ;
 import org.jboss.cache.lock.TimeoutException;
@@ -76,9 +76,9 @@
    }
 
    /**
-    * @return the {@link org.jboss.cache.transaction.GlobalTransaction}, extracted from the current {@link org.jboss.cache.invocation.InvocationContext}.
+    * @return the {@link org.jboss.cache.transaction.GlobalTransaction}, extracted from the current {@link org.jboss.cache.InvocationContext}.
     * @throws CacheException if the {@link org.jboss.cache.transaction.GlobalTransaction} or {@link javax.transaction.Transaction} associated with the
-    *                        {@link org.jboss.cache.invocation.InvocationContext} is null.
+    *                        {@link org.jboss.cache.InvocationContext} is null.
     */
    protected GlobalTransaction getGlobalTransaction(InvocationContext ctx) throws CacheException
    {

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticLockingInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticLockingInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticLockingInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -7,13 +7,13 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.CacheException;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.tx.CommitCommand;
 import org.jboss.cache.commands.tx.OptimisticPrepareCommand;
 import org.jboss.cache.commands.tx.RollbackCommand;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import static org.jboss.cache.lock.LockType.READ;
 import static org.jboss.cache.lock.LockType.WRITE;
 import org.jboss.cache.optimistic.TransactionWorkspace;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -10,6 +10,7 @@
 import org.jboss.cache.CacheException;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeFactory;
 import org.jboss.cache.NodeNotExistsException;
 import org.jboss.cache.NodeSPI;
@@ -29,7 +30,6 @@
 import org.jboss.cache.config.Option;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.Notifier;
 import static org.jboss.cache.notifications.event.NodeModifiedEvent.ModificationType.*;
 import org.jboss.cache.optimistic.DataVersion;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -8,6 +8,7 @@
 
 import org.jboss.cache.CacheException;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.AbstractVisitor;
 import org.jboss.cache.commands.CommandsFactory;
 import org.jboss.cache.commands.ReplicableCommand;
@@ -27,7 +28,6 @@
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.optimistic.DefaultDataVersion;
 import org.jboss.cache.optimistic.TransactionWorkspace;
@@ -45,8 +45,8 @@
  * Replication interceptor for the optimistically locked interceptor chain.  Responsible for replicating
  * state to remote nodes.  Unlike it's cousin, the {@link org.jboss.cache.interceptors.ReplicationInterceptor}, this interceptor
  * only deals with transactional calls.  Just like all things to do with Optimistic Locking, it is a requirement that
- * everything is done in a transaction and the transaction context is available via {@link org.jboss.cache.invocation.InvocationContext#getTransaction()}
- * and {@link org.jboss.cache.invocation.InvocationContext#getGlobalTransaction()}.
+ * everything is done in a transaction and the transaction context is available via {@link org.jboss.cache.InvocationContext#getTransaction()}
+ * and {@link org.jboss.cache.InvocationContext#getGlobalTransaction()}.
  *
  * @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
  * @author <a href="mailto:stevew at jofti.com">Steve Woodcock (stevew at jofti.com)</a>

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticTxInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticTxInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticTxInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.AbstractVisitor;
 import org.jboss.cache.commands.VersionedDataCommand;
 import org.jboss.cache.commands.VisitableCommand;
@@ -11,7 +12,6 @@
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.config.Option;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.OptimisticTransactionContext;
 import org.jboss.cache.transaction.TransactionContext;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticValidatorInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -9,13 +9,13 @@
 import org.jboss.cache.CacheException;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.tx.CommitCommand;
 import org.jboss.cache.commands.tx.OptimisticPrepareCommand;
 import org.jboss.cache.commands.tx.RollbackCommand;
 import static org.jboss.cache.config.Configuration.CacheMode;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.optimistic.DataVersioningException;
 import org.jboss.cache.optimistic.DefaultDataVersion;
 import org.jboss.cache.optimistic.TransactionWorkspace;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/PassivationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/PassivationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/PassivationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,12 +1,12 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.write.EvictCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.interceptors.base.JmxStatsCommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.jmx.annotations.ManagedAttribute;
 import org.jboss.cache.jmx.annotations.ManagedOperation;
 import org.jboss.cache.loader.CacheLoader;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -8,6 +8,7 @@
 
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.CommandsFactory;
 import org.jboss.cache.commands.DataCommand;
@@ -31,7 +32,6 @@
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.interceptors.base.PrePostProcessingCommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.IsolationLevel;
 import org.jboss.cache.lock.LockManager;
 import static org.jboss.cache.lock.LockType.READ;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/ReplicationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/ReplicationInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/ReplicationInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.interceptors;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.WriteCommand;
 import org.jboss.cache.commands.tx.CommitCommand;
@@ -13,7 +14,6 @@
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
 import org.jboss.cache.config.Configuration;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionContext;
 

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/TxInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -7,6 +7,7 @@
 package org.jboss.cache.interceptors;
 
 import org.jboss.cache.CacheException;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.RPCManager;
 import org.jboss.cache.ReplicationException;
 import org.jboss.cache.jmx.annotations.MBean;
@@ -31,7 +32,6 @@
 import org.jboss.cache.factories.ComponentRegistry;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.context.ContextFactory;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.InvocationContextContainer;
 import org.jboss.cache.lock.LockManager;
 import org.jboss.cache.notifications.Notifier;

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/base/CommandInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/base/CommandInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/base/CommandInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,11 +2,11 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.AbstractVisitor;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.config.Configuration;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * This is the base class for all interceptors to extend, and implements the {@link org.jboss.cache.commands.Visitor} interface
@@ -17,11 +17,11 @@
  * public interface, or by the {@link org.jboss.cache.marshall.CommandAwareRpcDispatcher} for remotely originating invocations, and
  * are passed up the interceptor chain by using the {@link org.jboss.cache.interceptors.InterceptorChain} helper class.
  * <p/>
- * When writing interceptors, authors can either override a specific visitXXX() method (such as {@link #visitGetKeyValueCommand(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.read.GetKeyValueCommand)})
- * or the more generic {@link #handleDefault(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)} which is the default behaviour of
- * any visit method, as defined in {@link org.jboss.cache.commands.AbstractVisitor#handleDefault(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)}.
+ * When writing interceptors, authors can either override a specific visitXXX() method (such as {@link #visitGetKeyValueCommand(org.jboss.cache.InvocationContext , org.jboss.cache.commands.read.GetKeyValueCommand)})
+ * or the more generic {@link #handleDefault(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)} which is the default behaviour of
+ * any visit method, as defined in {@link org.jboss.cache.commands.AbstractVisitor#handleDefault(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)}.
  * <p/>
- * The preferred approach is to override the specific visitXXX() methods that are of interest rather than to override {@link #handleDefault(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)}
+ * The preferred approach is to override the specific visitXXX() methods that are of interest rather than to override {@link #handleDefault(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)}
  * and then write a series of if statements or a switch block, if command-specific behaviour is needed.
  * <p/>
  *

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/base/PrePostProcessingCommandInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/base/PrePostProcessingCommandInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/base/PrePostProcessingCommandInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.interceptors.base;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.legacy.write.CreateNodeCommand;
 import org.jboss.cache.commands.read.ExistsCommand;
@@ -22,18 +23,17 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * This interceptor adds pre and post processing to each <tt>visitXXX()</tt> method.
  * <p/>
- * For each <tt>visitXXX()</tt> method invoked, it will first call {@link #doBeforeCall(org.jboss.cache.invocation.InvocationContext, org.jboss.cache.commands.VisitableCommand)}
- * and if this method returns true, it will proceed to invoking a <tt>handleXXX()</tt> method and lastly, {@link #doAfterCall(org.jboss.cache.invocation.InvocationContext, org.jboss.cache.commands.VisitableCommand)}
+ * For each <tt>visitXXX()</tt> method invoked, it will first call {@link #doBeforeCall(org.jboss.cache.InvocationContext, org.jboss.cache.commands.VisitableCommand)}
+ * and if this method returns true, it will proceed to invoking a <tt>handleXXX()</tt> method and lastly, {@link #doAfterCall(org.jboss.cache.InvocationContext, org.jboss.cache.commands.VisitableCommand)}
  * in a <tt>finally</tt> block.  Note that the <tt>doAfterCall()</tt> method is still invoked even if <tt>doBeforeCall()</tt> returns <tt>false</tt>.
  * <p/>
  * Instead of overriding <tt>visitXXX()</tt> methods, implementations should override their <tt>handleXXX()</tt> counterparts defined in this class
- * instead, as well as the {@link #doAfterCall(org.jboss.cache.invocation.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} method and
- * optionally {@link #doBeforeCall(org.jboss.cache.invocation.InvocationContext, org.jboss.cache.commands.VisitableCommand)}.
+ * instead, as well as the {@link #doAfterCall(org.jboss.cache.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} method and
+ * optionally {@link #doBeforeCall(org.jboss.cache.InvocationContext, org.jboss.cache.commands.VisitableCommand)}.
  * <p/>
  *
  * @author Mircea.Markus at jboss.com

Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/base/SkipCheckChainedInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/base/SkipCheckChainedInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/base/SkipCheckChainedInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.interceptors.base;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.read.ExistsCommand;
 import org.jboss.cache.commands.read.GetChildrenNamesCommand;
@@ -21,18 +22,17 @@
 import org.jboss.cache.commands.write.PutKeyValueCommand;
 import org.jboss.cache.commands.write.RemoveKeyCommand;
 import org.jboss.cache.commands.write.RemoveNodeCommand;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
- * This interceptor will call {@link #skipInterception(org.jboss.cache.invocation.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} before invoking each visit method
- * (and the {@link #handleDefault(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)} method).  If
- * {@link #skipInterception(org.jboss.cache.invocation.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} returns <tt>false</tt>, the invocation will be skipped
+ * This interceptor will call {@link #skipInterception(org.jboss.cache.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} before invoking each visit method
+ * (and the {@link #handleDefault(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)} method).  If
+ * {@link #skipInterception(org.jboss.cache.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} returns <tt>false</tt>, the invocation will be skipped
  * and passed up the interceptor chain instead.
  * <p/>
  * Instead of overriding visitXXX() methods, implementations should override their handleXXX() counterparts defined in this class
- * instead, as well as the {@link #skipInterception(org.jboss.cache.invocation.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} method.
- * Also, instead of overriding {@link #handleDefault(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)}, implementors
- * should override {@link #handleAll(org.jboss.cache.invocation.InvocationContext , org.jboss.cache.commands.VisitableCommand)}.
+ * instead, as well as the {@link #skipInterception(org.jboss.cache.InvocationContext ,org.jboss.cache.commands.VisitableCommand)} method.
+ * Also, instead of overriding {@link #handleDefault(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)}, implementors
+ * should override {@link #handleAll(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)}.
  *
  * @author Mircea.Markus at jboss.com
  * @since 2.2

Modified: core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationContext.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationContext.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -14,6 +14,7 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.config.Option;
 import org.jboss.cache.marshall.MethodCall;

Modified: core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationDelegate.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationDelegate.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/AbstractInvocationDelegate.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.invocation;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.config.Configuration;
 import org.jboss.cache.factories.ComponentRegistry;
 import org.jboss.cache.factories.annotations.Inject;

Modified: core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/CacheInvocationDelegate.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -7,6 +7,7 @@
 import org.jboss.cache.CacheStatus;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeNotExistsException;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.RPCManager;

Deleted: core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContext.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContext.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,316 +0,0 @@
-package org.jboss.cache.invocation;
-
-import org.jboss.cache.Fqn;
-import org.jboss.cache.NodeSPI;
-import org.jboss.cache.commands.VisitableCommand;
-import org.jboss.cache.config.Option;
-import org.jboss.cache.marshall.MethodCall;
-import org.jboss.cache.transaction.GlobalTransaction;
-import org.jboss.cache.transaction.TransactionContext;
-
-import javax.transaction.Transaction;
-import java.util.List;
-import java.util.Map;
-
-/**
- * A context that holds information regarding the scope of a single invocation.  May delegate some calls to a {@link org.jboss.cache.transaction.TransactionContext}
- * if one is in scope.
- * <p/>
- * Note that prior to 3.0.0, InvocationContext was a concrete class and not an interface.
- * <p/>
- *
- * @author Manik Surtani (<a href="mailto:manik at jboss.org">manik at jboss.org</a>)
- * @see org.jboss.cache.transaction.TransactionContext
- */
- at SuppressWarnings("deprecation")
-public interface InvocationContext
-{
-   /**
-    * Retrieves a node from the registry of looked up nodes in the current scope.
-    *
-    * @param fqn fqn to look up
-    * @return a node, or null if it cannot be found.
-    * @since 3.0.
-    */
-   NodeSPI lookUpNode(Fqn fqn);
-
-   /**
-    * Puts an entry in the registry of looked up nodes in the current scope.
-    *
-    * @param f fqn to add
-    * @param n node to add
-    * @since 3.0.
-    */
-   void putLookedUpNode(Fqn f, NodeSPI n);
-
-   /**
-    * Clears the registry of looked up nodes.
-    *
-    * @since 3.0.
-    */
-   void clearLookedUpNodes();
-
-   /**
-    * Retrieves a map of nodes looked up within the current invocation's scope.
-    *
-    * @return a map of looked up nodes.
-    * @since 3.0
-    */
-   Map<Fqn, NodeSPI> getLookedUpNodes();
-
-   /**
-    * Marks teh context as only rolling back.
-    *
-    * @param localRollbackOnly if true, the context is only rolling back.
-    */
-   void setLocalRollbackOnly(boolean localRollbackOnly);
-
-   /**
-    * Retrieves the transaction associated with this invocation
-    *
-    * @return The transaction associated with this invocation
-    */
-   Transaction getTransaction();
-
-   /**
-    * Sets a transaction object on the invocation context.
-    *
-    * @param transaction transaction to set
-    */
-   void setTransaction(Transaction transaction);
-
-   /**
-    * @return the transaction entry associated with the current transaction, or null if the current thread is not associated with a transaction.
-    * @since 2.2.0
-    */
-   TransactionContext getTransactionContext();
-
-   /**
-    * Sets the transaction context to be associated with the current thread.
-    *
-    * @param transactionContext transaction context to set
-    * @since 2.2.0
-    */
-   void setTransactionContext(TransactionContext transactionContext);
-
-   /**
-    * Retrieves the global transaction associated with this invocation
-    *
-    * @return the global transaction associated with this invocation
-    */
-   GlobalTransaction getGlobalTransaction();
-
-   /**
-    * Sets the global transaction associated with this invocation
-    *
-    * @param globalTransaction global transaction to set
-    */
-   void setGlobalTransaction(GlobalTransaction globalTransaction);
-
-   /**
-    * Retrieves the option overrides associated with this invocation
-    *
-    * @return the option overrides associated with this invocation
-    */
-   Option getOptionOverrides();
-
-   /**
-    * @return true of no options have been set on this context, false otherwise.
-    */
-   boolean isOptionsUninitialised();
-
-   /**
-    * Sets the option overrides to be associated with this invocation
-    *
-    * @param optionOverrides options to set
-    */
-   void setOptionOverrides(Option optionOverrides);
-
-   /**
-    * Tests if this invocation originated locally or from a remote cache.
-    *
-    * @return true if the invocation originated locally.
-    */
-   boolean isOriginLocal();
-
-   /**
-    * Returns an immutable,  defensive copy of the List of locks currently maintained for the current scope.
-    * <p/>
-    * Note that if a transaction is in scope, implementations should retrieve these locks from the {@link org.jboss.cache.transaction.TransactionContext}.
-    * Retrieving locks from this method should always ensure they are retrieved from  the appropriate scope.
-    * <p/>
-    * Note that currently (as of 3.0.0) this list is unchecked.  This is to allow support for both MVCC (which uses Fqns as locks)
-    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
-    * legacy node locking schemes are dropped, this method will be more strongly typed to return <tt>List<Fqn></tt>.
-    *
-    * @return locks held in current scope.
-    */
-   @SuppressWarnings("unchecked")
-   List getLocks();
-
-   /**
-    * Adds a List of locks to the currently maintained collection of locks acquired.
-    * <p/>
-    * Note that if a transaction is in scope, implementations should record locks on the {@link org.jboss.cache.transaction.TransactionContext}.
-    * Adding locks using this method should always ensure they are applied to the appropriate scope.
-    * <p/>
-    * Note that currently (as of 3.0.0) this list is unchecked.  This is to allow support for both MVCC (which uses Fqns as locks)
-    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
-    * legacy node locking schemes are dropped, this method will be more strongly typed to accept <tt>List<Fqn></tt>.
-    *
-    * @param locks locks to add
-    */
-   @SuppressWarnings("unchecked")
-   void addAllLocks(List locks);
-
-   /**
-    * Adds a lock to the currently maintained collection of locks acquired.
-    * <p/>
-    * Note that if a transaction is in scope, implementations should record this lock on the {@link org.jboss.cache.transaction.TransactionContext}.
-    * Using this method should always ensure that the appropriate scope is used.
-    * <p/>
-    * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link Fqn}s as locks)
-    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
-    * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link Fqn}.
-    *
-    * @param lock lock to add
-    */
-   @SuppressWarnings("unchecked")
-   void addLock(Object lock);
-
-   /**
-    * Removes a lock from the currently maintained collection of locks acquired.
-    * <p/>
-    * Note that if a transaction is in scope, implementations should remove this lock from the {@link org.jboss.cache.transaction.TransactionContext}.
-    * Using this method should always ensure that the lock is removed from the appropriate scope.
-    * <p/>
-    * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link Fqn}s as locks)
-    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
-    * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link Fqn}.
-    *
-    * @param lock lock to remove
-    */
-   @SuppressWarnings("unchecked")
-   void removeLock(Object lock);
-
-   /**
-    * Clears all locks from the currently maintained collection of locks acquired.
-    * <p/>
-    * Note that if a transaction is in scope, implementations should clear locks from the {@link org.jboss.cache.transaction.TransactionContext}.
-    * Using this method should always ensure locks are cleared in the appropriate scope.
-    * <p/>
-    * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link Fqn}s as locks)
-    * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
-    * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link Fqn}.
-    */
-   void clearLocks();
-
-
-   /**
-    * Note that if a transaction is in scope, implementations should test this lock from on {@link org.jboss.cache.transaction.TransactionContext}.
-    * Using this method should always ensure locks checked in the appropriate scope.
-    *
-    * @param lock lock to test
-    * @return true if the lock being tested is already held in the current scope, false otherwise.
-    */
-   boolean hasLock(Object lock);
-
-   /**
-    * @return true if options exist to suppress locking - false otherwise.  Note that this is only used by the {@link org.jboss.cache.interceptors.PessimisticLockInterceptor}.
-    */
-   boolean isLockingSuppressed();
-
-   /**
-    * If set to true, the invocation is assumed to have originated locally.  If set to false,
-    * assumed to have originated from a remote cache.
-    *
-    * @param originLocal flag to set
-    */
-   void setOriginLocal(boolean originLocal);
-
-   /**
-    * @return true if the current transaction is set to rollback only.
-    */
-   boolean isLocalRollbackOnly();
-
-   /**
-    * Resets the context, freeing up any references.
-    */
-   void reset();
-
-   /**
-    * This is a "copy-factory-method" that should be used whenever a clone of this class is needed.  The resulting instance
-    * is equal() to, but not ==, to the InvocationContext invoked on.  Note that this is a shallow copy with the exception
-    * of the Option object, which is deep, as well as any collections held on the context such as locks.  Note that the reference
-    * to a {@link org.jboss.cache.transaction.TransactionContext}, if any, is maintained.
-    *
-    * @return a new InvocationContext
-    */
-   @SuppressWarnings("unchecked")
-   InvocationContext copy();
-
-   /**
-    * Sets the state of the InvocationContext based on the template context passed in
-    *
-    * @param template template to copy from
-    */
-   void setState(InvocationContext template);
-
-   /**
-    * @return the method call associated with this invocation
-    */
-   @Deprecated
-   @SuppressWarnings("deprecation")
-   MethodCall getMethodCall();
-
-
-   /**
-    * Sets the method call associated with this invocation.
-    *
-    * @param methodCall methodcall to set
-    * @deprecated not used anymore.  Interceptors will get a {@link org.jboss.cache.commands.ReplicableCommand} instance passed in along with an InvocationContext.
-    */
-   @Deprecated
-   void setMethodCall(MethodCall methodCall);
-
-   /**
-    * If the lock acquisition timeout is overridden for current call using an option, then return that one.
-    * If not overridden, return default value.
-    *
-    * @param defaultTimeout timeout to fall back to
-    * @return timeout to use
-    */
-   long getLockAcquisitionTimeout(long defaultTimeout);
-
-   /**
-    * This is only used for backward compatibility with old interceptors implementation and should <b>NOT</b> be
-    * use by any new custom interceptors. The commands is now passed in as the second param in each implementing
-    * handlers (handler = method in ChainedInterceptor class)
-    *
-    * @param cacheCommand command to set
-    */
-   @Deprecated
-   @SuppressWarnings("deprecation")
-   void setCommand(VisitableCommand cacheCommand);
-
-   /**
-    * @return command that is in scope
-    * @see #setCommand(org.jboss.cache.commands.VisitableCommand)
-    */
-   @Deprecated
-   @SuppressWarnings("deprecation")
-   VisitableCommand getCommand();
-
-   /**
-    * @return true if there is current transaction associated with the invocation, and this transaction is in a valid state.
-    */
-   boolean isValidTransaction();
-
-   /**
-    * Throws the given throwable provided no options suppress or prevent this from happening.
-    *
-    * @param throwable throwable to throw
-    * @throws Throwable if allowed to throw one.
-    */
-   void throwIfNeeded(Throwable throwable) throws Throwable;
-}

Modified: core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContextContainer.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContextContainer.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/InvocationContextContainer.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.invocation;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.NonVolatile;
 import org.jboss.cache.factories.context.ContextFactory;

Modified: core/trunk/src/main/java/org/jboss/cache/invocation/LegacyInvocationContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/LegacyInvocationContext.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/LegacyInvocationContext.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,6 +2,7 @@
 
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 
 import java.util.Map;

Modified: core/trunk/src/main/java/org/jboss/cache/invocation/MVCCInvocationContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/MVCCInvocationContext.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/MVCCInvocationContext.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,6 +1,7 @@
 package org.jboss.cache.invocation;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.transaction.MVCCTransactionContext;
 import org.jboss.cache.transaction.TransactionContext;

Modified: core/trunk/src/main/java/org/jboss/cache/invocation/NodeInvocationDelegate.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/invocation/NodeInvocationDelegate.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/invocation/NodeInvocationDelegate.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -7,6 +7,7 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeNotValidException;
 import org.jboss.cache.NodeSPI;

Modified: core/trunk/src/main/java/org/jboss/cache/lock/AbstractLockManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/AbstractLockManager.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/lock/AbstractLockManager.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.lock;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.config.Configuration;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 
 /**
  * Common lock manager functionality

Modified: core/trunk/src/main/java/org/jboss/cache/lock/FqnLockManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/FqnLockManager.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/lock/FqnLockManager.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,7 +1,7 @@
 package org.jboss.cache.lock;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.Collection;
 

Modified: core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.lock;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.Collection;
 
@@ -73,9 +73,9 @@
     * is specified in {@link org.jboss.cache.config.Option#getLockAcquisitionTimeout()} and, if this is unset, the default timeout
     * set in {@link org.jboss.cache.config.Configuration#getLockAcquisitionTimeout()} is used.
     * <p/>
-    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.invocation.InvocationContext#addLock(Object)}.
+    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.InvocationContext#addLock(Object)}.
     * <p/>
-    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.invocation.InvocationContext)}.
+    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.InvocationContext)}.
     * <p/>
     *
     * @param fqn      Fqn to lock
@@ -91,9 +91,9 @@
     * is specified in {@link org.jboss.cache.config.Option#getLockAcquisitionTimeout()} and, if this is unset, the default timeout
     * set in {@link org.jboss.cache.config.Configuration#getLockAcquisitionTimeout()} is used.
     * <p/>
-    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.invocation.InvocationContext#addLock(Object)}.
+    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.InvocationContext#addLock(Object)}.
     * <p/>
-    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.invocation.InvocationContext)}.
+    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.InvocationContext)}.
     * <p/>
     *
     * @param node     Fqn to lock
@@ -125,7 +125,7 @@
     * <p/>
     * Locks are released in reverse order of which they are acquired and registered.
     * <p/>
-    * Lock owner is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.invocation.InvocationContext)}
+    * Lock owner is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.InvocationContext)}
     * <p/>
     *
     * @param ctx invocation context to inspect
@@ -176,9 +176,9 @@
     * Locks the node and all child nodes, acquiring lock of type specified for the owner specified.  If only some locks are
     * acquired, all locks are released and the method returns false.
     * <p/>
-    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.invocation.InvocationContext#addLock(Object)}.
+    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.InvocationContext#addLock(Object)}.
     * <p/>
-    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.invocation.InvocationContext)}.
+    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.InvocationContext)}.
     * <p/>
     *
     * @param node     Node to lock
@@ -192,9 +192,9 @@
     * Locks the node and all child nodes, acquiring lock of type specified for the owner specified.  If only some locks are
     * acquired, all locks are released and the method returns false.
     * <p/>
-    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.invocation.InvocationContext#addLock(Object)}.
+    * In addition, any locks acquired are added to the context OR transaction entry using {@link org.jboss.cache.InvocationContext#addLock(Object)}.
     * <p/>
-    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.invocation.InvocationContext)}.
+    * The owner for the lock is determined by passing the invocation context to {@link #getLockOwner(org.jboss.cache.InvocationContext)}.
     * <p/>
     *
     * @param fqn      Node to lock

Modified: core/trunk/src/main/java/org/jboss/cache/lock/LockUtil.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/LockUtil.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/lock/LockUtil.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,10 +3,10 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.CommandsFactory;
 import org.jboss.cache.commands.write.PutDataMapCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionContext;
 import org.jboss.cache.transaction.TransactionTable;

Modified: core/trunk/src/main/java/org/jboss/cache/lock/MVCCLockManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/MVCCLockManager.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/lock/MVCCLockManager.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -6,11 +6,11 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.InvocationContextContainer;
 import static org.jboss.cache.lock.LockType.READ;
 import org.jboss.cache.util.concurrent.locks.LockContainer;

Modified: core/trunk/src/main/java/org/jboss/cache/lock/NodeBasedLockManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/NodeBasedLockManager.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/lock/NodeBasedLockManager.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,10 +4,10 @@
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.ArrayList;
 import java.util.Collection;

Modified: core/trunk/src/main/java/org/jboss/cache/lock/PessimisticNodeBasedLockManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/PessimisticNodeBasedLockManager.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/lock/PessimisticNodeBasedLockManager.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,10 +3,10 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.CommandsFactory;
 import org.jboss.cache.factories.annotations.Inject;
-import org.jboss.cache.invocation.InvocationContext;
 import static org.jboss.cache.lock.LockType.WRITE;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.TransactionTable;

Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CommandAwareRpcDispatcher.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,5 +1,6 @@
 package org.jboss.cache.marshall;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.remote.AnnounceBuddyPoolNameCommand;
@@ -7,7 +8,6 @@
 import org.jboss.cache.commands.remote.RemoveFromBuddyGroupCommand;
 import org.jboss.cache.factories.ComponentRegistry;
 import org.jboss.cache.interceptors.InterceptorChain;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.InvocationContextContainer;
 import org.jgroups.Address;
 import org.jgroups.Channel;

Modified: core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,10 +5,10 @@
 import org.jboss.cache.AbstractNodeFactory;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.UnversionedNode;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.IsolationLevel;
 
 import java.util.Map;

Modified: core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeHelper.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeHelper.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeHelper.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -6,6 +6,7 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeFactory;
 import org.jboss.cache.NodeNotExistsException;
 import org.jboss.cache.NodeSPI;
@@ -13,7 +14,6 @@
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.NonVolatile;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.LockManager;
 import static org.jboss.cache.lock.LockType.WRITE;
 import org.jboss.cache.lock.TimeoutException;
@@ -87,7 +87,7 @@
    }
 
    /**
-    * Similar to {@link #wrapNodesForReading(org.jboss.cache.invocation.InvocationContext, java.util.Collection)} except
+    * Similar to {@link #wrapNodesForReading(org.jboss.cache.InvocationContext, java.util.Collection)} except
     * that this version takes a single Fqn parameter to wrap a single node.
     *
     * @param ctx current invocation context
@@ -243,7 +243,7 @@
    }
 
    /**
-    * The same as {@link #wrapNodeForWriting(org.jboss.cache.invocation.InvocationContext, org.jboss.cache.Fqn, boolean, boolean, boolean, boolean, boolean)}
+    * The same as {@link #wrapNodeForWriting(org.jboss.cache.InvocationContext, org.jboss.cache.Fqn, boolean, boolean, boolean, boolean, boolean)}
     * except that it takes in an {@link org.jboss.cache.InternalNode} instead of a {@link Fqn}.  Saves on a lookup.
     * <p/>
     * Also assumes that the node exists, and hence will not be created.
@@ -371,7 +371,7 @@
    }
 
    /**
-    * Identical to {@link #lockForWritingRecursive(org.jboss.cache.Fqn, org.jboss.cache.invocation.InvocationContext, java.util.List)}
+    * Identical to {@link #lockForWritingRecursive(org.jboss.cache.Fqn, org.jboss.cache.InvocationContext, java.util.List)}
     * except that it uses an {@link org.jboss.cache.InternalNode} instead of an {@link Fqn} - saves a lookup.
     *
     * @param node    node to lock recursively
@@ -425,7 +425,7 @@
    }
 
    /**
-    * An overloaded version of {@link #isParentLockNeeded(org.jboss.cache.Fqn, org.jboss.cache.invocation.InvocationContext)}
+    * An overloaded version of {@link #isParentLockNeeded(org.jboss.cache.Fqn, org.jboss.cache.InvocationContext)}
     * which takes in an {@link org.jboss.cache.InternalNode} instead of a {@link Fqn}.
     *
     * @param parent parent node to test

Modified: core/trunk/src/main/java/org/jboss/cache/mvcc/ReadCommittedNode.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/mvcc/ReadCommittedNode.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/mvcc/ReadCommittedNode.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,9 +5,9 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeNotExistsException;
 import org.jboss.cache.NodeSPI;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.NodeInvocationDelegate;
 import static org.jboss.cache.mvcc.ReadCommittedNode.Flags.*;
 

Modified: core/trunk/src/main/java/org/jboss/cache/mvcc/RepeatableReadNode.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/mvcc/RepeatableReadNode.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/mvcc/RepeatableReadNode.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,7 +5,8 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
-import org.jboss.cache.invocation.InvocationContext;
+import org.jboss.cache.InvocationContext;
+
 import static org.jboss.cache.mvcc.ReadCommittedNode.Flags.CHANGED;
 import static org.jboss.cache.mvcc.ReadCommittedNode.Flags.DELETED;
 import org.jboss.cache.optimistic.DataVersioningException;

Modified: core/trunk/src/main/java/org/jboss/cache/notifications/Notifier.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/notifications/Notifier.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/notifications/Notifier.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,8 +1,8 @@
 package org.jboss.cache.notifications;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyGroup;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.notifications.event.NodeModifiedEvent;
 import org.jgroups.View;
 

Modified: core/trunk/src/main/java/org/jboss/cache/notifications/NotifierImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/notifications/NotifierImpl.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/notifications/NotifierImpl.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -49,6 +49,7 @@
 import org.jboss.cache.CacheException;
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyGroup;
 import org.jboss.cache.config.Configuration;
 import org.jboss.cache.factories.annotations.Destroy;
@@ -56,7 +57,6 @@
 import org.jboss.cache.factories.annotations.NonVolatile;
 import org.jboss.cache.factories.annotations.Start;
 import org.jboss.cache.factories.annotations.Stop;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.marshall.MarshalledValueMap;
 import org.jboss.cache.notifications.annotation.BuddyGroupChanged;
 import org.jboss.cache.notifications.annotation.CacheBlocked;
@@ -673,7 +673,7 @@
 
    /**
     * Resets the current (passed-in) invocation, and returns a temp InvocationContext containing its state so it can
-    * be restored later using {@link #restoreInvocationContext(org.jboss.cache.invocation.InvocationContext)}
+    * be restored later using {@link #restoreInvocationContext(org.jboss.cache.InvocationContext)}
     *
     * @param ctx the current context to be reset
     * @return a clone of ctx, before it was reset

Modified: core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/statetransfer/DefaultStateTransferIntegrator.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -12,13 +12,13 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.config.Configuration;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.loader.CacheLoader;
 import org.jboss.cache.loader.CacheLoaderManager;
 import org.jboss.cache.marshall.NodeData;

Modified: core/trunk/src/main/java/org/jboss/cache/statetransfer/LegacyStateTransferIntegrator.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/statetransfer/LegacyStateTransferIntegrator.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/statetransfer/LegacyStateTransferIntegrator.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -11,6 +11,7 @@
 import org.jboss.cache.CacheException;
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeFactory;
 import org.jboss.cache.NodeSPI;
@@ -20,7 +21,6 @@
 import org.jboss.cache.eviction.EvictionEvent;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.Start;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.loader.CacheLoader;
 import org.jboss.cache.loader.CacheLoaderManager;
 import org.jboss.cache.marshall.NodeData;

Modified: core/trunk/src/main/java/org/jboss/cache/transaction/MVCCTransactionContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/transaction/MVCCTransactionContext.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/transaction/MVCCTransactionContext.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -27,7 +27,7 @@
    /**
     * Retrieves a node from the registry of looked up nodes in the current scope.
     * <p/>
-    * This is not normally called directly since {@link org.jboss.cache.invocation.InvocationContext#lookUpNode(org.jboss.cache.Fqn)}
+    * This is not normally called directly since {@link org.jboss.cache.InvocationContext#lookUpNode(org.jboss.cache.Fqn)}
     * would delegate to this method if a transaction is in scope.
     * <p/>
     *
@@ -42,7 +42,7 @@
    /**
     * Puts an entry in the registry of looked up nodes in the current scope.
     * <p/>
-    * This is not normally called directly since {@link org.jboss.cache.invocation.InvocationContext#putLookedUpNode(org.jboss.cache.Fqn, org.jboss.cache.NodeSPI)}
+    * This is not normally called directly since {@link org.jboss.cache.InvocationContext#putLookedUpNode(org.jboss.cache.Fqn, org.jboss.cache.NodeSPI)}
     * would delegate to this method if a transaction is in scope.
     * <p/>
     *
@@ -57,7 +57,7 @@
    /**
     * Clears the registry of looked up nodes.
     * <p/>
-    * This is not normally called directly since {@link org.jboss.cache.invocation.InvocationContext#clearLookedUpNodes()}
+    * This is not normally called directly since {@link org.jboss.cache.InvocationContext#clearLookedUpNodes()}
     * would delegate to this method if a transaction is in scope.
     * <p/>
     */
@@ -69,7 +69,7 @@
    /**
     * Retrieves a map of nodes looked up within the current invocation's scope.
     * <p/>
-    * This is not normally called directly since {@link org.jboss.cache.invocation.InvocationContext#getLookedUpNodes()}
+    * This is not normally called directly since {@link org.jboss.cache.InvocationContext#getLookedUpNodes()}
     * would delegate to this method if a transaction is in scope.
     * <p/>
     *

Modified: core/trunk/src/main/java/org/jboss/cache/transaction/TransactionContext.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/transaction/TransactionContext.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/transaction/TransactionContext.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -15,7 +15,7 @@
  * <p/>
  *
  * @author Manik Surtani (<a href="mailto:manik at jboss.org">manik at jboss.org</a>)
- * @see org.jboss.cache.invocation.InvocationContext
+ * @see org.jboss.cache.InvocationContext
  */
 public interface TransactionContext
 {
@@ -80,7 +80,7 @@
    /**
     * Adds a lock to the currently maintained collection of locks acquired.
     * <p/>
-    * Most code could not use this method directly, but use {@link org.jboss.cache.invocation.InvocationContext#addLock(Object)} instead,
+    * Most code could not use this method directly, but use {@link org.jboss.cache.InvocationContext#addLock(Object)} instead,
     * which would delegate to this method if a transaction is in scope or otherwise use invocation-specific locks.
     * <p/>
     * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link org.jboss.cache.Fqn}s as locks)
@@ -88,7 +88,7 @@
     * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link org.jboss.cache.Fqn}.
     *
     * @param lock lock to add
-    * @see org.jboss.cache.invocation.InvocationContext#addLock(Object)
+    * @see org.jboss.cache.InvocationContext#addLock(Object)
     */
    @SuppressWarnings("unchecked")
    void addLock(Object lock);
@@ -96,7 +96,7 @@
    /**
     * Removes a lock from the currently maintained collection of locks acquired.
     * <p/>
-    * Most code could not use this method directly, but use {@link org.jboss.cache.invocation.InvocationContext#removeLock(Object)}  instead,
+    * Most code could not use this method directly, but use {@link org.jboss.cache.InvocationContext#removeLock(Object)}  instead,
     * which would delegate to this method if a transaction is in scope or otherwise use invocation-specific locks.
     * <p/>
     * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link org.jboss.cache.Fqn}s as locks)
@@ -104,7 +104,7 @@
     * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link org.jboss.cache.Fqn}.
     *
     * @param lock lock to remove
-    * @see org.jboss.cache.invocation.InvocationContext#removeLock(Object)
+    * @see org.jboss.cache.InvocationContext#removeLock(Object)
     */
    @SuppressWarnings("unchecked")
    void removeLock(Object lock);
@@ -112,21 +112,21 @@
    /**
     * Clears all locks from the currently maintained collection of locks acquired.
     * <p/>
-    * Most code could not use this method directly, but use {@link org.jboss.cache.invocation.InvocationContext#clearLocks()} instead,
+    * Most code could not use this method directly, but use {@link org.jboss.cache.InvocationContext#clearLocks()} instead,
     * which would delegate to this method if a transaction is in scope or otherwise use invocation-specific locks.
     * <p/>
     * Note that currently (as of 3.0.0) this lock is weakly typed.  This is to allow support for both MVCC (which uses {@link org.jboss.cache.Fqn}s as locks)
     * as well as legacy Optimistic and Pessimistic Locking schemes (which use {@link org.jboss.cache.lock.NodeLock} as locks).  Once support for
     * legacy node locking schemes are dropped, this method will be more strongly typed to accept {@link org.jboss.cache.Fqn}.
     *
-    * @see org.jboss.cache.invocation.InvocationContext#clearLocks()
+    * @see org.jboss.cache.InvocationContext#clearLocks()
     */
    void clearLocks();
 
    /**
     * Adds a List of locks to the currently maintained collection of locks acquired.
     * <p/>
-    * Most code could not use this method directly, but use {@link org.jboss.cache.invocation.InvocationContext#addAllLocks(java.util.List)} instead,
+    * Most code could not use this method directly, but use {@link org.jboss.cache.InvocationContext#addAllLocks(java.util.List)} instead,
     * which would delegate to this method if a transaction is in scope or otherwise use invocation-specific locks.
     * <p/>
     * Note that currently (as of 3.0.0) this list is unchecked.  This is to allow support for both MVCC (which uses Fqns as locks)
@@ -134,7 +134,7 @@
     * legacy node locking schemes are dropped, this method will be more strongly typed to accept <tt>List<Fqn></tt>.
     *
     * @param newLocks locks to add
-    * @see org.jboss.cache.invocation.InvocationContext#addAllLocks(java.util.List)
+    * @see org.jboss.cache.InvocationContext#addAllLocks(java.util.List)
     */
    @SuppressWarnings("unchecked")
    void addAllLocks(List newLocks);
@@ -142,7 +142,7 @@
    /**
     * Returns an immutable,  defensive copy of the List of locks currently maintained for the transaction.
     * <p/>
-    * Most code could not use this method directly, but use {@link org.jboss.cache.invocation.InvocationContext#getLocks()} instead,
+    * Most code could not use this method directly, but use {@link org.jboss.cache.InvocationContext#getLocks()} instead,
     * which would delegate to this method if a transaction is in scope or otherwise use invocation-specific locks.
     * <p/>
     * Note that currently (as of 3.0.0) this list is unchecked.  This is to allow support for both MVCC (which uses Fqns as locks)
@@ -150,13 +150,13 @@
     * legacy node locking schemes are dropped, this method will be more strongly typed to return <tt>List<Fqn></tt>.
     *
     * @return locks held in current scope.
-    * @see org.jboss.cache.invocation.InvocationContext#getLocks()
+    * @see org.jboss.cache.InvocationContext#getLocks()
     */
    @SuppressWarnings("unchecked")
    List getLocks();
 
    /**
-    * Most code could not use this method directly, but use {@link org.jboss.cache.invocation.InvocationContext#hasLock(Object)} ()} instead,
+    * Most code could not use this method directly, but use {@link org.jboss.cache.InvocationContext#hasLock(Object)} ()} instead,
     * which would delegate to this method if a transaction is in scope or otherwise use invocation-specific locks.
     *
     * @param lock lock to test

Modified: core/trunk/src/main/java/org/jboss/cache/transaction/TransactionTable.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/transaction/TransactionTable.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/main/java/org/jboss/cache/transaction/TransactionTable.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -9,11 +9,11 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.jboss.cache.CacheException;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.RPCManager;
 import org.jboss.cache.factories.annotations.Inject;
 import org.jboss.cache.factories.annotations.NonVolatile;
 import org.jboss.cache.factories.context.ContextFactory;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jgroups.Address;
 
 import javax.transaction.Status;

Modified: core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/api/SyncReplTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -11,12 +11,12 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DefaultCacheFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.config.Configuration;
 import org.jboss.cache.config.Configuration.CacheMode;
 import org.jboss.cache.config.Configuration.NodeLockingScheme;
 import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.util.TestingUtil;
 import static org.testng.AssertJUnit.*;
 import org.testng.annotations.AfterMethod;

Modified: core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/api/SyncReplTxTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -11,12 +11,12 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DefaultCacheFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.config.Configuration;
 import org.jboss.cache.config.Configuration.CacheMode;
 import org.jboss.cache.config.Configuration.NodeLockingScheme;
 import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.util.TestingUtil;
 import static org.testng.AssertJUnit.*;
 import org.testng.annotations.AfterMethod;

Modified: core/trunk/src/test/java/org/jboss/cache/commands/TestContextBase.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/commands/TestContextBase.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/commands/TestContextBase.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,7 +1,7 @@
 package org.jboss.cache.commands;
 
 import org.jboss.cache.DataContainer;
-import org.jboss.cache.invocation.InvocationContext;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.invocation.LegacyInvocationContext;
 import org.jboss.cache.invocation.MVCCInvocationContext;
 

Modified: core/trunk/src/test/java/org/jboss/cache/commands/legacy/read/GravitateDataCommandTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/commands/legacy/read/GravitateDataCommandTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/commands/legacy/read/GravitateDataCommandTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -6,11 +6,11 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.buddyreplication.BuddyFqnTransformer;
 import org.jboss.cache.buddyreplication.BuddyManager;
 import org.jboss.cache.buddyreplication.GravitateResult;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.LegacyInvocationContext;
 import org.jboss.cache.mock.MockNodesFixture;
 import org.jboss.cache.mock.NodeSpiMock;

Modified: core/trunk/src/test/java/org/jboss/cache/commands/legacy/write/PutDataMapCommandTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/commands/legacy/write/PutDataMapCommandTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/commands/legacy/write/PutDataMapCommandTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,8 +5,8 @@
 import org.easymock.IMocksControl;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.TestContextBase;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.mock.NodeSpiMock;
 import org.jboss.cache.notifications.Notifier;
 import org.jboss.cache.notifications.event.NodeModifiedEvent;

Modified: core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/commands/read/AbstractDataCommandTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,8 +3,8 @@
 import static org.easymock.EasyMock.createMock;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.TestContextBase;
-import org.jboss.cache.invocation.InvocationContext;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 

Modified: core/trunk/src/test/java/org/jboss/cache/commands/read/GetKeyValueCommandTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/commands/read/GetKeyValueCommandTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/commands/read/GetKeyValueCommandTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -5,8 +5,8 @@
 import org.easymock.IMocksControl;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.TestContextBase;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.mock.NodeSpiMock;
 import org.jboss.cache.notifications.Notifier;
 import org.testng.annotations.BeforeMethod;

Modified: core/trunk/src/test/java/org/jboss/cache/commands/write/AbstractVersionedDataCommandTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/commands/write/AbstractVersionedDataCommandTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/commands/write/AbstractVersionedDataCommandTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,8 +4,8 @@
 import org.easymock.IMocksControl;
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.TestContextBase;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.mock.MockNodesFixture;
 import org.jboss.cache.notifications.Notifier;
 import org.jboss.cache.optimistic.DataVersion;

Modified: core/trunk/src/test/java/org/jboss/cache/interceptors/LegacyInterceptorTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/interceptors/LegacyInterceptorTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/interceptors/LegacyInterceptorTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,8 +4,8 @@
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DefaultCacheFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.write.PutKeyValueCommand;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.util.TestingUtil;
 import org.testng.annotations.AfterTest;
 import org.testng.annotations.BeforeMethod;

Modified: core/trunk/src/test/java/org/jboss/cache/lock/AbstractLockManagerRecordingTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/lock/AbstractLockManagerRecordingTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/lock/AbstractLockManagerRecordingTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,10 +1,10 @@
 package org.jboss.cache.lock;
 
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.UnversionedNode;
 import org.jboss.cache.factories.context.ContextFactory;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.InvocationContextContainer;
 import org.jboss.cache.invocation.NodeInvocationDelegate;
 import static org.jboss.cache.lock.LockType.WRITE;

Modified: core/trunk/src/test/java/org/jboss/cache/marshall/MarshalledValueTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/marshall/MarshalledValueTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/marshall/MarshalledValueTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,6 +3,7 @@
 import org.jboss.cache.CacheException;
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.DefaultCacheFactory;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.write.PutDataMapCommand;
 import org.jboss.cache.commands.write.PutKeyValueCommand;
@@ -13,7 +14,6 @@
 import org.jboss.cache.interceptors.MarshalledValueInterceptor;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
 import org.jboss.cache.invocation.CacheInvocationDelegate;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.loader.DummyInMemoryCacheLoader;
 import org.jboss.cache.notifications.annotation.CacheListener;
 import org.jboss.cache.notifications.annotation.NodeModified;

Modified: core/trunk/src/test/java/org/jboss/cache/mock/NodeSpiMock.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/mock/NodeSpiMock.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/mock/NodeSpiMock.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -4,9 +4,9 @@
 import org.jboss.cache.DataContainer;
 import org.jboss.cache.Fqn;
 import org.jboss.cache.InternalNode;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeSPI;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.NodeLock;
 import org.jboss.cache.optimistic.DataVersion;
 import org.jboss.cache.transaction.GlobalTransaction;

Modified: core/trunk/src/test/java/org/jboss/cache/notifications/NotifierTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/notifications/NotifierTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/notifications/NotifierTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -3,9 +3,9 @@
 import static org.easymock.EasyMock.createNiceMock;
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.buddyreplication.BuddyGroup;
 import org.jboss.cache.config.Configuration;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.invocation.LegacyInvocationContext;
 import org.jboss.cache.notifications.annotation.*;
 import org.jboss.cache.notifications.event.*;

Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/ConcurrentTransactionTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/ConcurrentTransactionTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/ConcurrentTransactionTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -8,13 +8,13 @@
 
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.tx.OptimisticPrepareCommand;
 import org.jboss.cache.interceptors.OptimisticCreateIfNotExistsInterceptor;
 import org.jboss.cache.interceptors.TxInterceptor;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.util.TestingUtil;
 import static org.testng.AssertJUnit.*;
 import org.testng.annotations.AfterMethod;

Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/MockFailureInterceptor.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/MockFailureInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/MockFailureInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.optimistic;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.ArrayList;
 import java.util.List;

Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/MockInterceptor.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/MockInterceptor.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/MockInterceptor.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -1,9 +1,9 @@
 package org.jboss.cache.optimistic;
 
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 
 import java.util.ArrayList;
 import java.util.List;

Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/OptimisticLockInterceptorTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,11 +2,11 @@
 
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.interceptors.OptimisticInterceptor;
 import org.jboss.cache.interceptors.OptimisticLockingInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.lock.LockType;
 import static org.jboss.cache.lock.LockType.READ;
 import static org.jboss.cache.lock.LockType.WRITE;

Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/ValidatorInterceptorTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/ValidatorInterceptorTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/ValidatorInterceptorTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -8,6 +8,7 @@
 
 import org.jboss.cache.CacheSPI;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.commands.VisitableCommand;
 import org.jboss.cache.commands.tx.CommitCommand;
@@ -18,7 +19,6 @@
 import org.jboss.cache.interceptors.OptimisticNodeInterceptor;
 import org.jboss.cache.interceptors.OptimisticValidatorInterceptor;
 import org.jboss.cache.interceptors.base.CommandInterceptor;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.loader.SamplePojo;
 import org.jboss.cache.transaction.GlobalTransaction;
 import org.jboss.cache.transaction.OptimisticTransactionContext;

Modified: core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/replicated/SyncReplTest.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -9,12 +9,12 @@
 import org.jboss.cache.Cache;
 import org.jboss.cache.DefaultCacheFactory;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.Node;
 import org.jboss.cache.NodeSPI;
 import org.jboss.cache.config.Configuration.CacheMode;
 import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
 import org.jboss.cache.invocation.CacheInvocationDelegate;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.util.TestingUtil;
 import static org.testng.AssertJUnit.*;
 import org.testng.annotations.AfterMethod;

Modified: core/trunk/src/test/java/org/jboss/cache/util/internals/ReplicationListener.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/util/internals/ReplicationListener.java	2008-08-25 22:08:47 UTC (rev 6613)
+++ core/trunk/src/test/java/org/jboss/cache/util/internals/ReplicationListener.java	2008-08-25 23:17:22 UTC (rev 6614)
@@ -2,12 +2,12 @@
 
 import org.jboss.cache.Cache;
 import org.jboss.cache.Fqn;
+import org.jboss.cache.InvocationContext;
 import org.jboss.cache.RPCManager;
 import org.jboss.cache.commands.ReplicableCommand;
 import org.jboss.cache.commands.remote.ReplicateCommand;
 import org.jboss.cache.commands.tx.PrepareCommand;
 import org.jboss.cache.factories.ComponentRegistry;
-import org.jboss.cache.invocation.InvocationContext;
 import org.jboss.cache.io.ByteBuffer;
 import org.jboss.cache.marshall.AbstractMarshaller;
 import org.jboss.cache.marshall.CommandAwareRpcDispatcher;




More information about the jbosscache-commits mailing list