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

Manik Surtani manik at jboss.org
Thu Jun 28 12:53:39 EDT 2007


  User: msurtani
  Date: 07/06/28 12:53:39

  Modified:    src/org/jboss/cache/pojo/impl  CacheListenerAdaptor.java
  Log:
  Notification changes
  
  Revision  Changes    Path
  1.6       +13 -14    JBossCache/src/org/jboss/cache/pojo/impl/CacheListenerAdaptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheListenerAdaptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/impl/CacheListenerAdaptor.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- CacheListenerAdaptor.java	13 Jun 2007 00:08:59 -0000	1.5
  +++ CacheListenerAdaptor.java	28 Jun 2007 16:53:39 -0000	1.6
  @@ -22,23 +22,14 @@
   
   package org.jboss.cache.pojo.impl;
   
  -import static org.jboss.cache.pojo.impl.InternalConstant.POJOCACHE_OPERATION;
  -import static org.jboss.cache.pojo.impl.InternalConstant.POJOCACHE_STATUS;
  -
  -import java.lang.reflect.Field;
  -import java.util.Collection;
  -import java.util.HashSet;
  -import java.util.List;
  -import java.util.Map;
  -import java.util.Set;
  -import java.util.regex.Pattern;
  -
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.jboss.cache.AbstractCacheListener;
   import org.jboss.cache.Fqn;
  +import static org.jboss.cache.notifications.event.NodeModifiedEvent.ModificationType;
   import org.jboss.cache.pojo.PojoCache;
   import org.jboss.cache.pojo.PojoCacheListener;
  +import static org.jboss.cache.pojo.impl.InternalConstant.POJOCACHE_OPERATION;
  +import static org.jboss.cache.pojo.impl.InternalConstant.POJOCACHE_STATUS;
   import org.jboss.cache.pojo.interceptors.PojoTxLockInterceptor;
   import org.jboss.cache.pojo.notification.AttachNotification;
   import org.jboss.cache.pojo.notification.DetachNotification;
  @@ -49,14 +40,22 @@
   import org.jboss.cache.pojo.notification.NotificationContext;
   import org.jboss.cache.pojo.notification.SetModifyNotification;
   
  -// $Id: CacheListenerAdaptor.java,v 1.5 2007/06/13 00:08:59 jgreene Exp $
  +import java.lang.reflect.Field;
  +import java.util.Collection;
  +import java.util.HashSet;
  +import java.util.List;
  +import java.util.Map;
  +import java.util.Set;
  +import java.util.regex.Pattern;
  +
  +// $Id: CacheListenerAdaptor.java,v 1.6 2007/06/28 16:53:39 msurtani Exp $
   
   /**
    * Adapts the core cache listener API into the POJO listener API.
    *
    * @author Jason T. Greene
    */
  -public class CacheListenerAdaptor extends AbstractCacheListener implements NotificationContext
  +public class CacheListenerAdaptor implements NotificationContext
   {
      private static final HashSet<String> internalKeys = new HashSet<String>();
      private static final Log log = LogFactory.getLog(CacheListenerAdaptor.class);
  
  
  



More information about the jboss-cvs-commits mailing list