|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.components.pipeline.AbstractStreamPipeline | +--org.apache.cocoon.components.pipeline.CachingStreamPipeline
A StreamPipeline
either
Reader
and let it processEventPipeline
with a
Serializer
and let them produce the requested
resource
EventPipeline
is cacheable
Field Summary |
Fields inherited from class org.apache.cocoon.components.pipeline.AbstractStreamPipeline |
eventPipeline, manager, newManager, reader, readerMimeType, readerParam, readerSelector, readerSource, serializer, serializerMimeType, serializerParam, serializerSelector, serializerSource, sitemapReaderMimeType, sitemapSerializerMimeType |
Fields inherited from interface org.apache.cocoon.components.pipeline.StreamPipeline |
ROLE |
Constructor Summary | |
CachingStreamPipeline()
|
Method Summary | |
void |
compose(org.apache.avalon.framework.component.ComponentManager manager)
Pass the ComponentManager to the Composable .
|
void |
dispose()
|
boolean |
process(Environment environment)
Process the request. |
protected boolean |
processReader(Environment environment)
Process the pipeline using a reader. |
void |
recycle()
Recycle this component |
void |
setReader(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param,
java.lang.String mimeType)
Set the Reader. |
void |
setSerializer(java.lang.String role,
java.lang.String source,
org.apache.avalon.framework.parameters.Parameters param,
java.lang.String mimeType)
Set the serializer. |
Methods inherited from class org.apache.cocoon.components.pipeline.AbstractStreamPipeline |
checkPipeline, connectPipeline, getEventPipeline, recompose, setEventPipeline, setReader, setSerializer, setupPipeline |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CachingStreamPipeline()
Method Detail |
public void compose(org.apache.avalon.framework.component.ComponentManager manager) throws org.apache.avalon.framework.component.ComponentException
AbstractStreamPipeline
ComponentManager
to the Composable
.
The Composable
implementation should use the specified
ComponentManager
to acquire the components it needs for
execution.
compose
in interface org.apache.avalon.framework.component.Composable
compose
in class AbstractStreamPipeline
manager
- The ComponentManager
which this
Composable
uses.
org.apache.avalon.framework.component.ComponentException
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
dispose
in class AbstractStreamPipeline
public void setSerializer(java.lang.String role, java.lang.String source, org.apache.avalon.framework.parameters.Parameters param, java.lang.String mimeType) throws java.lang.Exception
setSerializer
in interface StreamPipeline
setSerializer
in class AbstractStreamPipeline
java.lang.Exception
public void setReader(java.lang.String role, java.lang.String source, org.apache.avalon.framework.parameters.Parameters param, java.lang.String mimeType) throws java.lang.Exception
setReader
in interface StreamPipeline
setReader
in class AbstractStreamPipeline
java.lang.Exception
protected boolean processReader(Environment environment) throws ProcessingException
processReader
in class AbstractStreamPipeline
ProcessingException
- ifpublic boolean process(Environment environment) throws ProcessingException
process
in interface StreamPipeline
process
in class AbstractStreamPipeline
ProcessingException
public void recycle()
recycle
in interface org.apache.avalon.excalibur.pool.Recyclable
recycle
in class AbstractStreamPipeline
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |