|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.orbeon.oxf.pipeline.api.PipelineContext
PipelineContext represents a context object passed to all the processors running in a given pipeline session.
Nested Class Summary | |
static interface |
PipelineContext.ContextListener
ContextListener interface to listen on PipelineContext events. |
static class |
PipelineContext.ContextListenerAdapter
ContextListener adapter class to faciliate implementations of the ContextListener interface. |
Field Summary | |
static String |
DATASOURCE_CONTEXT
|
static String |
EXTERNAL_CONTEXT
Key name for the EXTERNAL_CONTEXT attribute of type ExternalContext. |
static String |
FILTER_CHAIN
|
static String |
JNDI_CONTEXT
|
static String |
LOCATION_DATA
|
static String |
PARENT_PROCESSORS
|
static String |
PORTLET_CONFIG
|
static String |
REQUEST
|
static String |
REQUEST_GENERATOR_CONTEXT
|
static String |
SQL_PROCESSOR_CONTEXT
|
static String |
THROWABLE
|
static String |
XSLT_STYLESHEET_URI_LISTENER
|
Constructor Summary | |
PipelineContext()
|
Method Summary | |
void |
addContextListener(PipelineContext.ContextListener listener)
Add a new listener to the context. |
void |
destroy(boolean success)
Destroy the pipeline context. |
Object |
getAttribute(Object key)
Get an attribute in the context. |
boolean |
isDestroyed()
Check whether this context has been destroyed. |
void |
setAttribute(Object key,
Object o)
Set an attribute in the context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String EXTERNAL_CONTEXT
public static final String FILTER_CHAIN
public static final String PORTLET_CONFIG
public static final String JNDI_CONTEXT
public static final String PARENT_PROCESSORS
public static final String THROWABLE
public static final String LOCATION_DATA
public static final String REQUEST_GENERATOR_CONTEXT
public static final String SQL_PROCESSOR_CONTEXT
public static final String XSLT_STYLESHEET_URI_LISTENER
public static final String DATASOURCE_CONTEXT
public static final String REQUEST
Constructor Detail |
public PipelineContext()
Method Detail |
public void setAttribute(Object key, Object o)
key
- the attribute keyo
- the attribute value to associate with the keypublic Object getAttribute(Object key)
key
- the attribute key
public void addContextListener(PipelineContext.ContextListener listener)
listener
- public void destroy(boolean success)
public boolean isDestroyed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |