|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline
org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
org.apache.cocoon.components.pipeline.impl.CachingPointProcessingPipeline
The CachingPointProcessingPipeline
Field Summary | |
protected boolean |
autoCachingPoint
|
protected String |
autoCachingPointSwitch
|
protected ArrayList |
isCachePoint
|
protected boolean |
nextIsCachePoint
|
protected ArrayList |
xmlSerializerArray
|
Fields inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
cacheCompleteResponse, cachedResponse, completeResponseIsCached, configuredDoSmartCaching, doSmartCaching, firstNotCacheableTransformerIndex, firstProcessedTransformerIndex, fromCacheKey, generatorRole, readerRole, serializerRole, toCacheKey, toCacheSourceValidities, transformerRoles |
Fields inherited from class org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline |
cache, xmlDeserializer, xmlSerializer |
Fields inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
configuration, configuredExpires, configuredOutputBufferSize, expires, generator, generatorParam, generatorSource, lastConsumer, manager, newManager, outputBufferSize, parameters, processor, reader, readerMimeType, readerParam, readerSource, serializer, serializerMimeType, serializerParam, serializerSource, transformerParams, transformers, transformerSources |
Fields inherited from interface org.apache.cocoon.components.pipeline.ProcessingPipeline |
ROLE |
Constructor Summary | |
CachingPointProcessingPipeline()
|
Method Summary | |
void |
addTransformer(String role,
String source,
Parameters param,
Parameters hintParam)
Add a transformer. |
protected void |
cacheResults(Environment environment,
OutputStream os)
Cache longest cacheable path plus cache points. |
protected void |
connectCachingPipeline(Environment environment)
Connect the caching point pipeline. |
void |
informBranchPoint()
Determine if the given branch-point is a caching-point Please Note: this method is used by auto caching-point and is of no consequence when auto caching-point is switched off |
protected ComponentCacheKey |
newComponentCacheKey(int type,
String role,
Serializable key)
Create a new ComponentCachekey ComponentCacheKeys can be flagged as cachepoints |
void |
parameterize(Parameters config)
The CachingPointProcessingPipeline is configurable.
|
void |
recycle()
Recyclable Interface |
void |
setGenerator(String role,
String source,
Parameters param,
Parameters hintParam)
Set the generator. |
Methods inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
connectPipeline, generateCachingKey, getKeyForEventPipeline, getValidityForEventPipeline, processReader, processXMLPipeline, setReader, setSerializer, setup, setupPipeline, setupValidities, validatePipeline |
Methods inherited from class org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline |
dispose |
Methods inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
checkIfModified, checkPipeline, connect, getGenerator, getLocation, handleException, isInternalError, prepareInternal, prepareInternalErrorHandler, preparePipeline, process, process, processErrorHandler, service, setErrorHandler, setMimeTypeForReader, setMimeTypeForSerializer, setProcessorManager, 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 |
protected ArrayList isCachePoint
protected ArrayList xmlSerializerArray
protected boolean nextIsCachePoint
protected String autoCachingPointSwitch
protected boolean autoCachingPoint
Constructor Detail |
public CachingPointProcessingPipeline()
Method Detail |
public void parameterize(Parameters config) throws ParameterException
CachingPointProcessingPipeline
is configurable.
The autoCachingPoint algorithm can be switced on/off
in the sitemap.xmap
parameterize
in interface Parameterizable
parameterize
in class AbstractCachingProcessingPipeline
ParameterException
public void setGenerator(String role, String source, Parameters param, Parameters hintParam) throws ProcessingException
setGenerator
in interface ProcessingPipeline
setGenerator
in class AbstractCachingProcessingPipeline
ProcessingException
public void addTransformer(String role, String source, Parameters param, Parameters hintParam) throws ProcessingException
addTransformer
in interface ProcessingPipeline
addTransformer
in class AbstractCachingProcessingPipeline
ProcessingException
public void informBranchPoint()
informBranchPoint
in interface ProcessingPipeline
informBranchPoint
in class AbstractProcessingPipeline
protected void cacheResults(Environment environment, OutputStream os) throws Exception
cacheResults
in class AbstractCachingProcessingPipeline
Exception
protected ComponentCacheKey newComponentCacheKey(int type, String role, Serializable key)
newComponentCacheKey
in class AbstractCachingProcessingPipeline
protected void connectCachingPipeline(Environment environment) throws ProcessingException
connectCachingPipeline
in class AbstractCachingProcessingPipeline
ProcessingException
public void recycle()
recycle
in interface Recyclable
recycle
in class AbstractCachingProcessingPipeline
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |