You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@locus.apache.org on 2000/12/05 07:47:43 UTC

cvs commit: jakarta-slide/src/share/org/apache/slide/store StandardStore.java

remm        00/12/04 22:47:43

  Modified:    src/share/org/apache/slide/store StandardStore.java
  Log:
  - Use the new reference store.
  - Made the fields protected, so that this class can be easily extended.
  
  Revision  Changes    Path
  1.4       +17 -17    jakarta-slide/src/share/org/apache/slide/store/StandardStore.java
  
  Index: StandardStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/store/StandardStore.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- StandardStore.java	2000/12/01 07:17:36	1.3
  +++ StandardStore.java	2000/12/05 06:47:42	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/store/StandardStore.java,v 1.3 2000/12/01 07:17:36 remm Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/12/01 07:17:36 $
  + * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/store/StandardStore.java,v 1.4 2000/12/05 06:47:42 remm Exp $
  + * $Revision: 1.4 $
  + * $Date: 2000/12/05 06:47:42 $
    *
    * ====================================================================
    *
  @@ -80,7 +80,7 @@
    * Abstract implementation of a store. Handles all caching operations.
    * 
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class StandardStore extends ServiceImpl 
       implements Store {
  @@ -109,74 +109,74 @@
       /**
        * Default store classname.
        */
  -    private String defaultStore = 
  -        "slidestore.memory.MemoryDescriptorsStore";
  +    protected String defaultStore = 
  +        "slidestore.reference.MemoryDescriptorsStore";
       
       
       /**
        * Nodes cache.
        */
  -    private ObjectCache objectsCache;
  +    protected ObjectCache objectsCache;
       
       
       /**
        * Node store.
        */
  -    private NodeStore nodeStore;
  +    protected NodeStore nodeStore;
       
       
       /**
        * Permissions cache.
        */
  -    private ObjectCache permissionsCache;
  +    protected ObjectCache permissionsCache;
       
       
       /**
        * Security store.
        */
  -    private SecurityStore securityStore;
  +    protected SecurityStore securityStore;
       
       
       /**
        * Locks cache.
        */
  -    private ObjectCache locksCache;
  +    protected ObjectCache locksCache;
       
       
       /**
        * Lock store.
        */
  -    private LockStore lockStore;
  +    protected LockStore lockStore;
       
       
       /**
        * Revision descriptors cache.
        */
  -    private ObjectCache descriptorsCache;
  +    protected ObjectCache descriptorsCache;
       
       
       /**
        * Revision descriptors store.
        */
  -    private RevisionDescriptorsStore revisionDescriptorsStore;
  +    protected RevisionDescriptorsStore revisionDescriptorsStore;
       
       
       /**
        * Revision descriptor cache.
        */
  -    private ObjectCache descriptorCache;
  +    protected ObjectCache descriptorCache;
       
       
       /**
        * Revision descriptor store.
        */
  -    private RevisionDescriptorStore revisionDescriptorStore;
  +    protected RevisionDescriptorStore revisionDescriptorStore;
       
       
       /**
        * Content store.
        */
  -    private ContentStore contentStore;
  +    protected ContentStore contentStore;
       
       
       // ---------------------------------------------------- ServiceImpl Methods