org.apache.cocoon.components.pipeline.impl
Class BaseCachingProcessingPipeline

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.pipeline.AbstractProcessingPipeline
          extended byorg.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline
All Implemented Interfaces:
Disposable, Parameterizable, Poolable, org.apache.cocoon.components.pipeline.ProcessingPipeline, Recyclable, Serviceable
Direct Known Subclasses:
AbstractCachingProcessingPipeline, ExpiresCachingProcessingPipeline

public abstract class BaseCachingProcessingPipeline
extends AbstractProcessingPipeline
implements Disposable

This is the base class for all caching pipeline implementations. The pipeline can be configured with the Cache to use by specifying the cache-role parameter.

Since:
2.1
Version:
$Id: BaseCachingProcessingPipeline.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  org.apache.cocoon.caching.Cache cache
          This is the Cache holding cached responses
protected  XMLByteStreamInterpreter xmlDeserializer
          The deserializer
protected  XMLByteStreamCompiler xmlSerializer
          The serializer
 
Fields inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline
configuration, configuredExpires, configuredOutputBufferSize, expires, generator, generatorParam, generatorSource, lastConsumer, manager, newManager, outputBufferSize, parameters, reader, readerMimeType, readerParam, readerSource, serializer, serializerMimeType, serializerParam, serializerSource, sourceResolver, transformerParams, transformers, transformerSources
 
Fields inherited from interface org.apache.cocoon.components.pipeline.ProcessingPipeline
ROLE
 
Constructor Summary
BaseCachingProcessingPipeline()
           
 
Method Summary
 void dispose()
          Disposable Interface
 void parameterize(Parameters params)
          Parameterizable Interface - Configuration
 void recycle()
          Recyclable Interface
 
Methods inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline
addTransformer, checkIfModified, checkPipeline, connect, connectPipeline, getGenerator, getKeyForEventPipeline, getLocation, getValidityForEventPipeline, handleException, informBranchPoint, isInternalError, prepareInternal, prepareInternalErrorHandler, preparePipeline, process, process, processErrorHandler, processReader, processXMLPipeline, service, setErrorHandler, setGenerator, setMimeTypeForReader, setMimeTypeForSerializer, setProcessorManager, setReader, setSerializer, setup, setupPipeline, setupReader
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

protected org.apache.cocoon.caching.Cache cache
This is the Cache holding cached responses


xmlDeserializer

protected XMLByteStreamInterpreter xmlDeserializer
The deserializer


xmlSerializer

protected XMLByteStreamCompiler xmlSerializer
The serializer

Constructor Detail

BaseCachingProcessingPipeline

public BaseCachingProcessingPipeline()
Method Detail

parameterize

public void parameterize(Parameters params)
                  throws ParameterException
Parameterizable Interface - Configuration

Specified by:
parameterize in interface Parameterizable
Overrides:
parameterize in class AbstractProcessingPipeline
Throws:
ParameterException

recycle

public void recycle()
Recyclable Interface

Specified by:
recycle in interface Recyclable
Overrides:
recycle in class AbstractProcessingPipeline
See Also:
Recyclable.recycle()

dispose

public void dispose()
Disposable Interface

Specified by:
dispose in interface Disposable


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.