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 ju...@apache.org on 2001/02/21 17:37:06 UTC

cvs commit: jakarta-slide/src/stores/slidestore/reference MemoryDescriptorsStore.java

juergen     01/02/21 08:37:05

  Modified:    src/stores/slidestore/reference MemoryDescriptorsStore.java
  Log:
  the memory store, which inherits from the fileContentStore now inherits the method calls setParameters and initialise to the FileContentStore
  
  Revision  Changes    Path
  1.3       +10 -6     jakarta-slide/src/stores/slidestore/reference/MemoryDescriptorsStore.java
  
  Index: MemoryDescriptorsStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/stores/slidestore/reference/MemoryDescriptorsStore.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MemoryDescriptorsStore.java	2001/01/11 09:38:52	1.2
  +++ MemoryDescriptorsStore.java	2001/02/21 16:37:04	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/stores/slidestore/reference/MemoryDescriptorsStore.java,v 1.2 2001/01/11 09:38:52 juergen Exp $
  - * $Revision: 1.2 $
  - * $Date: 2001/01/11 09:38:52 $
  + * $Header: /home/cvs/jakarta-slide/src/stores/slidestore/reference/MemoryDescriptorsStore.java,v 1.3 2001/02/21 16:37:04 juergen Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/02/21 16:37:04 $
    *
    * ====================================================================
    *
  @@ -80,7 +80,7 @@
    * Reference implementation.
    *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class MemoryDescriptorsStore extends FileContentStore
       implements LockStore, NodeStore, RevisionDescriptorsStore,
  @@ -135,8 +135,11 @@
        * @param parameters Hashtable containing the parameters' name
        * and associated value
        */
  -    public void setParameters(Hashtable parameters) {
  -	// A parameter will tell were serialization files are.
  +    public void setParameters(Hashtable parameters)
  +        throws ServiceParameterErrorException,
  +        ServiceParameterMissingException {
  +        super.setParameters(parameters);
  +        // A parameter will tell were serialization files are.
       }
       
       
  @@ -175,6 +178,7 @@
        */
       public synchronized void initialize(NamespaceAccessToken token)
           throws ServiceInitializationFailedException {
  +        super.initialize(token);
           objects = new Hashtable();
           permissions = new Hashtable();
           locks = new Hashtable();