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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.pipeline.AbstractProcessingPipeline
          extended by org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline
All Implemented Interfaces:
Poolable, Recyclable, Disposable, Component, Composable, Recomposable, LogEnabled, Parameterizable, ProcessingPipeline
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 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  Cache cache
          This is the Cache holding cached responses
protected  XMLDeserializer xmlDeserializer
          The XML Deserializer
protected  XMLSerializer xmlSerializer
          The XML Serializer
 
Fields inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline
configuration, configuredExpires, configuredOutputBufferSize, expires, generator, generatorParam, generatorSelector, generatorSource, lastConsumer, manager, newManager, outputBufferSize, parameters, reader, readerMimeType, readerParam, readerSelector, readerSource, serializer, serializerMimeType, serializerParam, serializerSelector, serializerSource, sitemapReaderMimeType, sitemapSerializerMimeType, transformerParams, transformers, transformerSelectors, 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, compose, connect, connectPipeline, getGenerator, getKeyForEventPipeline, getLocation, getValidityForEventPipeline, handleException, informBranchPoint, isInternalError, prepareInternal, prepareInternalErrorHandler, preparePipeline, process, process, processErrorHandler, processReader, processXMLPipeline, recompose, release, setErrorHandler, setGenerator, setMimeTypeForReader, setMimeTypeForSerializer, setReader, setSerializer, setup, setupPipeline, setupReader
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

protected Cache cache
This is the Cache holding cached responses


xmlDeserializer

protected XMLDeserializer xmlDeserializer
The XML Deserializer


xmlSerializer

protected XMLSerializer xmlSerializer
The XML 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

dispose

public void dispose()
Disposable Interface

Specified by:
dispose in interface Disposable


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.