|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.components.treeprocessor.InvokeContext
The invocation context of ProcessingNode
s.
This class serves two purposes :
ProcessingNode.invoke(Environment, InvokeContext)
,
thus allowing easier addition of new parameters,
Constructor Summary | |
InvokeContext()
Create an InvokeContext without existing pipelines. |
|
InvokeContext(StreamPipeline pipeline,
EventPipeline eventPipeline)
Create an InvokeContext with existing pipelines. |
Method Summary | |
void |
compose(org.apache.avalon.framework.component.ComponentManager manager)
|
void |
dispose()
Release the pipelines, if any, if they were looked up by this context. |
protected void |
dumpParameters(java.util.List list)
Dumps all sitemap parameters to log |
EventPipeline |
getEventPipeline()
Get the EventPipeline . |
java.util.List |
getMapStack()
Get the current Map stack used to resolve expressions. |
StreamPipeline |
getStreamPipeline()
Get the StreamPipeline . |
boolean |
isInternalRequest()
Is this an internal request ? |
void |
popMap()
Pop the topmost element of the current Map stack. |
void |
pushMap(java.util.Map map)
Push a Map on top of the current Map stack. |
void |
recompose(org.apache.avalon.framework.component.ComponentManager manager)
|
void |
setLogger(org.apache.log.Logger logger)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InvokeContext()
InvokeContext
without existing pipelines. This also means
the current request is external.public InvokeContext(StreamPipeline pipeline, EventPipeline eventPipeline)
InvokeContext
with existing pipelines. This also means
the current request is internal.Method Detail |
public void setLogger(org.apache.log.Logger logger)
setLogger
in interface org.apache.avalon.framework.logger.Loggable
public void compose(org.apache.avalon.framework.component.ComponentManager manager) throws org.apache.avalon.framework.component.ComponentException
compose
in interface org.apache.avalon.framework.component.Composable
public void recompose(org.apache.avalon.framework.component.ComponentManager manager) throws org.apache.avalon.framework.component.ComponentException
recompose
in interface org.apache.avalon.framework.component.Recomposable
public final EventPipeline getEventPipeline() throws java.lang.Exception
EventPipeline
. If none already exists, a set of new
pipelines is looked up.public final StreamPipeline getStreamPipeline() throws java.lang.Exception
StreamPipeline
. If none already exists, a set of new
pipelines is looked up.public final boolean isInternalRequest()
public final java.util.List getMapStack()
public final void pushMap(java.util.Map map)
protected void dumpParameters(java.util.List list)
public final void popMap()
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |