froehlich    01/12/21 02:15:35

  Modified:    src/org/apache/cocoon/components/pipeline
                        CachingStreamPipeline.java
                        CachingEventPipeline.java
  Log:
  removed event-cache and stream-cache roles. store role is now the only
  memory store instance.
  
  Revision  Changes    Path
  1.15      +2 -2      
xml-cocoon2/src/org/apache/cocoon/components/pipeline/CachingStreamPipeline.java
  
  Index: CachingStreamPipeline.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/pipeline/CachingStreamPipeline.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- CachingStreamPipeline.java        2001/12/10 12:56:22     1.14
  +++ CachingStreamPipeline.java        2001/12/21 10:15:35     1.15
  @@ -41,7 +41,7 @@
    *  </ul>
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.14 $ $Date: 2001/12/10 12:56:22 $
  + * @version CVS $Revision: 1.15 $ $Date: 2001/12/21 10:15:35 $
    */
   public class CachingStreamPipeline extends AbstractStreamPipeline {
   
  @@ -57,7 +57,7 @@
       public void compose (ComponentManager manager)
       throws ComponentException {
           super.compose(manager);
  -        this.streamCache = (Store)this.manager.lookup(Store.ROLE + "/StreamCache");
  +        this.streamCache = (Store)this.manager.lookup(Store.ROLE);
       }
   
       public void dispose() {
  
  
  
  1.21      +2 -2      
xml-cocoon2/src/org/apache/cocoon/components/pipeline/CachingEventPipeline.java
  
  Index: CachingEventPipeline.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/pipeline/CachingEventPipeline.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- CachingEventPipeline.java 2001/12/10 12:56:22     1.20
  +++ CachingEventPipeline.java 2001/12/21 10:15:35     1.21
  @@ -41,7 +41,7 @@
    * does not cache! (If it would cache, the response would be cached twice!)
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.20 $ $Date: 2001/12/10 12:56:22 $
  + * @version CVS $Revision: 1.21 $ $Date: 2001/12/21 10:15:35 $
    */
   public class CachingEventPipeline
   extends AbstractEventPipeline
  @@ -64,7 +64,7 @@
       public void compose (ComponentManager manager)
       throws ComponentException {
           super.compose(manager);
  -        this.eventCache = (Store)this.manager.lookup(Store.ROLE + "/EventCache");
  +        this.eventCache = (Store)this.manager.lookup(Store.ROLE);
       }
   
       /**
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to