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

Manik Surtani manik at jboss.org
Tue Apr 17 03:47:53 EDT 2007


  User: msurtani
  Date: 07/04/17 03:47:53

  Modified:    src/org/jboss/cache/pojo    PojoCache.java
                        PojoTreeCache.java PojoCacheMBean.java
  Log:
  Cleaned up javadocs
  
  Revision  Changes    Path
  1.2       +23 -24    JBossCache/src/org/jboss/cache/pojo/PojoCache.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoCache.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/PojoCache.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- PojoCache.java	13 Jan 2007 15:55:01 -0000	1.1
  +++ PojoCache.java	17 Apr 2007 07:47:53 -0000	1.2
  @@ -28,8 +28,7 @@
   	* <p>Attach a POJO into PojoCache. It will also recursively put any
   	* sub-POJO into the cache system. A POJO can be the following and have the
   	* consqeuences when attached:</p> <p/> <li>it is Replicable, that is, it
  -	* has been annotated with {@see
  -	* org.jboss.cache.aop.annotation.Replicable} annotation (or via XML),
  +    * has been annotated with {@link @org.jboss.cache.pojo.annotation.Replicable} annotation (or via XML),
   	* and has
   	* been "instrumented" either compile- or load-time. The POJO will be mapped
   	* recursively to the system and fine-grained replication will be
  
  
  
  1.5       +0 -38     JBossCache/src/org/jboss/cache/pojo/PojoTreeCache.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoTreeCache.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/PojoTreeCache.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- PojoTreeCache.java	12 Mar 2007 18:13:48 -0000	1.4
  +++ PojoTreeCache.java	17 Apr 2007 07:47:53 -0000	1.5
  @@ -74,44 +74,6 @@
         return node.getDirect(PojoInstance.KEY) != null;
      }
   
  -   /**
  -    * Overrides the {@link CacheImpl#activateRegion(String) superclass method} by
  -    * ensuring that the internal region where information on shared object is stored
  -    * has been activated.
  -    */
  -   /*
  -   @Override
  -   public void activateRegion(String subtreeFqn) throws RegionNotEmptyException, RegionNameConflictException, CacheException
  -   {
  -      if (!getConfiguration().isUseRegionBasedMarshalling())
  -         throw new IllegalStateException("CacheImpl.activateRegion(). useRegionBasedMarshalling flag is not set!");
  -
  -      if ("/".equals(subtreeFqn))
  -      {
  -         // Just pass it through, as we'll get the internal area
  -         // with the normal state transfer
  -         super.activateRegion(subtreeFqn);
  -      } else
  -      {
  -         // If the internal region is not activated yet, activate it first
  -         Region region = regionManager_.getRegion(InternalConstant.JBOSS_INTERNAL);
  -         if ((region == null && getConfiguration().isInactiveOnStartup())
  -                 || (region != null && region.isInactive()))
  -         {
  -            super.activateRegion(InternalConstant.JBOSS_INTERNAL.toString());
  -         }
  -
  -         // If we don't have an internal map node yet, create one.
  -         // Doing this ensures the code that integrates map references for
  -         // the region will have a node to integrate into
  -         if (get(InternalConstant.JBOSS_INTERNAL_MAP) == null)
  -            createSubtreeRootNode(InternalConstant.JBOSS_INTERNAL_MAP);
  -
  -         // Now activate the requested region
  -         super.activateRegion(subtreeFqn);
  -      }
  -   }
  -   */
      public Object getLockOwner()
      {
         return getOwnerForLock();
  
  
  
  1.2       +1 -1      JBossCache/src/org/jboss/cache/pojo/PojoCacheMBean.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoCacheMBean.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/PojoCacheMBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- PojoCacheMBean.java	13 Jan 2007 15:55:01 -0000	1.1
  +++ PojoCacheMBean.java	17 Apr 2007 07:47:53 -0000	1.2
  @@ -10,7 +10,7 @@
   
   
   /**
  - * MBean interface for PojoCache. Note that it also inherits from {@link org.jboss.cache.TreeCacheMBean}.
  + * MBean interface for PojoCache.
    *
    * @author Ben Wang
    * @since 1.4
  
  
  



More information about the jboss-cvs-commits mailing list