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

Manik Surtani msurtani at jboss.com
Tue Sep 5 14:09:57 EDT 2006


  User: msurtani
  Date: 06/09/05 14:09:57

  Modified:    src/org/jboss/cache  TreeCacheProxyImpl.java
  Log:
  InterceptorMBean signature change
  
  Revision  Changes    Path
  1.24      +8 -1      JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCacheProxyImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCacheProxyImpl.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- TreeCacheProxyImpl.java	5 Sep 2006 11:03:26 -0000	1.23
  +++ TreeCacheProxyImpl.java	5 Sep 2006 18:09:57 -0000	1.24
  @@ -12,6 +12,8 @@
   import org.jboss.cache.eviction.RegionManager;
   import org.jboss.cache.factories.NodeFactory;
   import org.jboss.cache.interceptors.Interceptor;
  +import org.jboss.cache.interceptors.InterceptorMBean;
  +import org.jboss.cache.jmx.CacheMBean;
   import org.jboss.cache.loader.CacheLoader;
   import org.jboss.cache.loader.CacheLoaderManager;
   import org.jboss.cache.lock.IdentityLock;
  @@ -37,7 +39,7 @@
    *
    * @author <a href="mailto:manik at jboss.org">Manik Surtani (manik at jboss.org)</a>
    */
  -public class TreeCacheProxyImpl implements CacheSPI, NodeSPI
  +public class TreeCacheProxyImpl implements CacheMBean, NodeSPI
   {
      public TreeCache treeCache;
      public NodeImpl currentNode;
  @@ -551,4 +553,9 @@
      {
         currentNode.setChildrenLoaded(b);
      }
  +
  +   public List<InterceptorMBean> getInterceptorMBeanChain()
  +   {
  +      return treeCache.getInterceptors();
  +   }
   }
  
  
  



More information about the jboss-cvs-commits mailing list