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

Jason Thomas Greene jgreene at jboss.com
Mon Apr 23 09:09:20 EDT 2007


  User: jgreene 
  Date: 07/04/23 09:09:20

  Modified:    src/org/jboss/cache/pojo  PojoCacheListener.java
  Log:
  Add array placeholder to API
  
  Revision  Changes    Path
  1.3       +18 -9     JBossCache/src/org/jboss/cache/pojo/PojoCacheListener.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoCacheListener.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/PojoCacheListener.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- PojoCacheListener.java	23 Apr 2007 02:53:22 -0000	1.2
  +++ PojoCacheListener.java	23 Apr 2007 13:09:20 -0000	1.3
  @@ -7,6 +7,7 @@
   
   package org.jboss.cache.pojo;
   
  +import org.jboss.cache.pojo.notification.ArrayModifyNotification;
   import org.jboss.cache.pojo.notification.AttachNotification;
   import org.jboss.cache.pojo.notification.DetachNotification;
   import org.jboss.cache.pojo.notification.FieldModifyNotification;
  @@ -19,7 +20,7 @@
    *
    * @author Jason T. Greene
    * @author Ben Wang
  - * @version $Id: PojoCacheListener.java,v 1.2 2007/04/23 02:53:22 jgreene Exp $
  + * @version $Id: PojoCacheListener.java,v 1.3 2007/04/23 13:09:20 jgreene Exp $
    * @since 2.0
    */
   public interface PojoCacheListener
  @@ -27,42 +28,50 @@
      /**
       * Called before and after object is attached to the cache.
       * 
  -    * @param notification
  +    * @param notification the notification instance
       */
      public void attach(AttachNotification notification);
   
      /**
       * Called before and after an object is detached from the cache.
       * 
  -    * @param notification
  +    * @param notification the notification instance
       */
      public void detach(DetachNotification notification);
   
      /**
       * Called before an after a field on an attached object is modified.
       * 
  -    * @param notification
  +    * @param notification the notification instance
       */
      public void modify(FieldModifyNotification notification);
      
      /**
  -    * Called when a list is modified.
  +    * Called when a List is modified.
       * 
  -    * @param notification
  +    * @param notification the notification instance
       */
      public void modify(ListModifyNotification notification);
      
      /**
       * Called when a Set is modified
       * 
  -    * @param notification
  +    * @param notification the notification instance
       */
      public void modify(SetModifyNotification notification);
      
      /**
       * Called when a Map is modified
       * 
  -    * @param notification
  +    * @param notification the notification instance
       */
      public void modify(MapModifyNotification notification);
  +   
  +   /**
  +    * Called when an Array is modified. <b>NOTE: This is currently not
  +    * implemented.</b> It is simply a placeholder for a future enhancement.
  +    * 
  +    * @param notification
  +    */
  +   public void modify(ArrayModifyNotification notification);  
   }
  
  
  



More information about the jboss-cvs-commits mailing list