|
||||||||||
| 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.treeprocessor.ConcreteTreeProcessor
public class ConcreteTreeProcessor
The concrete implementation of Processor, containing the evaluation tree and associated
data such as component manager.
| Field Summary |
|---|
| Fields inherited from interface org.apache.cocoon.Processor |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ConcreteTreeProcessor(TreeProcessor wrappingProcessor)
Builds a concrete processig, given the wrapping processor |
|
| Method Summary | |
|---|---|
ProcessingPipeline |
buildPipeline(Environment environment)
Process the given Environment to assemble
a ProcessingPipeline. |
void |
dispose()
|
Map |
getComponentConfigurations()
Get the sitemap component configurations |
Processor |
getRootProcessor()
Get the root processor parent of this processor. |
TreeProcessor |
getWrappingProcessor()
|
void |
markForDisposal()
Mark this processor as needing to be disposed. |
boolean |
process(Environment environment)
Process the given Environment producing the output. |
protected boolean |
process(Environment environment,
InvokeContext context)
Do the actual processing, be it producing the response or just building the pipeline |
void |
setComponentConfigurations(Configuration componentConfigurations)
Set the sitemap component configurations (called as part of the tree building process) |
void |
setProcessorData(ComponentManager manager,
ProcessingNode rootNode,
List disposableNodes)
Set the processor data, result of the treebuilder job |
String |
toString()
|
| 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, wait, wait, wait |
| Constructor Detail |
|---|
public ConcreteTreeProcessor(TreeProcessor wrappingProcessor)
| Method Detail |
|---|
public void setProcessorData(ComponentManager manager,
ProcessingNode rootNode,
List disposableNodes)
public void setComponentConfigurations(Configuration componentConfigurations)
public Map getComponentConfigurations()
getComponentConfigurations in interface Processorpublic void markForDisposal()
dispose() will occur when
all request processings on this processor will be terminated.
public TreeProcessor getWrappingProcessor()
public Processor getRootProcessor()
Processor
getRootProcessor in interface Processor
public boolean process(Environment environment)
throws Exception
Environment producing the output.
process in interface Processortrue is returned.
If not match is found in the sitemap false
is returned.
ResourceNotFoundException - If a sitemap component tries
to access a resource which can not
be found, e.g. the generator
ConnectionResetException If the connection was reset
Exception
public ProcessingPipeline buildPipeline(Environment environment)
throws Exception
Environment to assemble
a ProcessingPipeline.
buildPipeline in interface ProcessorException
protected boolean process(Environment environment,
InvokeContext context)
throws Exception
environment - context -
Exceptionpublic void dispose()
dispose in interface Disposablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||