[jboss-cvs] JBossCache/src/org/jboss/cache/marshall ...

Vladmir Blagojevic vladimir.blagojevic at jboss.com
Wed Jan 10 13:35:09 EST 2007


  User: vblagojevic
  Date: 07/01/10 13:35:09

  Modified:    src/org/jboss/cache/marshall  MethodDeclarations.java
  Log:
  [JBCACHE-935]
  
  Revision  Changes    Path
  1.31      +10 -1     JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MethodDeclarations.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -b -r1.30 -r1.31
  --- MethodDeclarations.java	2 Jan 2007 18:26:06 -0000	1.30
  +++ MethodDeclarations.java	10 Jan 2007 18:35:09 -0000	1.31
  @@ -31,7 +31,7 @@
    * allowing lookup operations both ways.
    *
    * @author <a href="galder.zamarreno at jboss.com">Galder Zamarreno</a>
  - * @version $Revision: 1.30 $
  + * @version $Revision: 1.31 $
    */
   public class MethodDeclarations
   {
  @@ -40,6 +40,7 @@
      static final Set<Integer> crudMethodIds = new HashSet<Integer>();
      static final Set<Integer> transactionLifecycleMethodIds = new HashSet<Integer>();
      static final Set<Integer> buddyGroupOrganisationMethodIds = new HashSet<Integer>();
  +   static final Set<Integer> blockUnblockMethodIds = new HashSet<Integer>();
      static final Set<Integer> putMethodIds = new HashSet<Integer>();
   
      // maintain a list of method IDs that correspond to Methods in CacheImpl
  @@ -363,6 +364,9 @@
         buddyGroupOrganisationMethodIds.add(remoteAssignToBuddyGroupMethod_id);
         buddyGroupOrganisationMethodIds.add(remoteRemoveFromBuddyGroupMethod_id);
   
  +      blockUnblockMethodIds.add(blockChannelMethodLocal_id);
  +      blockUnblockMethodIds.add(unblockChannelMethodLocal_id);
  +
      }
   
      protected static int lookupMethodId(Method method)
  @@ -422,6 +426,11 @@
         return putMethodIds.contains(id);
      }
   
  +   public static boolean isBlockUnblockMethod(int id)
  +   {
  +      return blockUnblockMethodIds.contains(id);
  +   }
  +
      /**
       * Returns the versioned equivalent of a crud method.
       */
  
  
  



More information about the jboss-cvs-commits mailing list