|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Environment in org.apache.cocoon |
---|
Methods in org.apache.cocoon with parameters of type Environment | |
---|---|
ProcessingPipeline |
ProcessorWrapper.buildPipeline(Environment environment)
Deprecated. Process the given Environment to assemble
a ProcessingPipeline . |
ProcessingPipeline |
Cocoon.buildPipeline(Environment environment)
Process the given Environment to assemble
a ProcessingPipeline . |
ProcessingPipeline |
Processor.buildPipeline(Environment environment)
Process the given Environment to assemble
a ProcessingPipeline . |
protected void |
Cocoon.debug(Environment environment,
boolean internal)
Log debug information about the current environment. |
void |
RequestListener.onRequestEnd(Environment environment)
This method is called when a request has completed. |
void |
RequestListener.onRequestException(Environment environment,
Throwable throwable)
This method is called when an exception has occurred processing the request. |
void |
RequestListener.onRequestStart(Environment environment)
In this method you can call, for example: Request req=ObjectModelHelper.getRequest(env.getObjectModel());
And then, you could use the following:
req.getRequestURI()
req.getQueryString()
req.getSession().getId()
req.getLocale().getLanguage().toString()
|
boolean |
ProcessorWrapper.process(Environment environment)
Deprecated. Process the given Environment producing the output |
boolean |
Cocoon.process(Environment environment)
Process the given Environment to produce the output. |
boolean |
Processor.process(Environment environment)
Process the given Environment producing the output. |
Uses of Environment in org.apache.cocoon.bean |
---|
Methods in org.apache.cocoon.bean with parameters of type Environment | |
---|---|
void |
XSPPrecompileWrapper.precompile(String fileName,
Environment environment,
String markupLanguage,
String programmingLanguage)
Process the given Environment to generate Java code for
specified XSP files. |
Uses of Environment in org.apache.cocoon.components |
---|
Methods in org.apache.cocoon.components that return Environment | |
---|---|
static Environment |
CocoonComponentManager.getCurrentEnvironment()
Return the current environment (for the cocoon: protocol) |
Methods in org.apache.cocoon.components with parameters of type Environment | |
---|---|
static void |
CocoonComponentManager.endProcessing(Environment env,
Object key)
This hook has to be called before a request is processed. |
static void |
CocoonComponentManager.enterEnvironment(Environment env,
ComponentManager manager,
Processor processor)
This hook must be called by the sitemap each time a sitemap is entered This method should never raise an exception, except when the parameters are not set! |
static Processor |
CocoonComponentManager.getActiveProcessor(Environment env)
Return the processor that has actually processed the request |
static Object |
CocoonComponentManager.startProcessing(Environment env)
This hook has to be called before a request is processed. |
Uses of Environment in org.apache.cocoon.components.pipeline |
---|
Methods in org.apache.cocoon.components.pipeline with parameters of type Environment | |
---|---|
protected boolean |
AbstractProcessingPipeline.checkIfModified(Environment environment,
long lastModified)
|
protected void |
AbstractProcessingPipeline.connect(Environment environment,
XMLProducer producer,
XMLConsumer consumer)
Connect the next component |
protected void |
AbstractProcessingPipeline.connectPipeline(Environment environment)
Connect the XML pipeline. |
void |
AbstractProcessingPipeline.prepareInternal(Environment environment)
Prepare an internal processing. |
void |
ProcessingPipeline.prepareInternal(Environment environment)
Prepare an internal processing |
protected void |
AbstractProcessingPipeline.prepareInternalErrorHandler(Environment environment,
ProcessingException ex)
If prepareInternal fails, prepare internal error handler. |
protected void |
AbstractProcessingPipeline.preparePipeline(Environment environment)
Prepare the pipeline |
boolean |
AbstractProcessingPipeline.process(Environment environment)
Process the given Environment , producing the output. |
boolean |
ProcessingPipeline.process(Environment environment)
Process the given Environment , producing the output. |
boolean |
AbstractProcessingPipeline.process(Environment environment,
XMLConsumer consumer)
Process the given Environment , but do not use the
serializer. |
boolean |
ProcessingPipeline.process(Environment environment,
XMLConsumer consumer)
Process the given Environment , but do not use the
serializer. |
protected boolean |
AbstractProcessingPipeline.processErrorHandler(Environment environment,
ProcessingException e,
XMLConsumer consumer)
|
protected boolean |
AbstractProcessingPipeline.processReader(Environment environment)
Process the pipeline using a reader. |
protected boolean |
AbstractProcessingPipeline.processXMLPipeline(Environment environment)
Process the SAX event pipeline |
protected void |
AbstractProcessingPipeline.setMimeTypeForReader(Environment environment)
Set the mime-type for a reader |
protected void |
AbstractProcessingPipeline.setMimeTypeForSerializer(Environment environment)
Set the mime-type for a serializer |
protected void |
AbstractProcessingPipeline.setupPipeline(Environment environment)
Setup pipeline components. |
protected void |
AbstractProcessingPipeline.setupReader(Environment environment)
Setup the reader |
Uses of Environment in org.apache.cocoon.components.pipeline.impl |
---|
Methods in org.apache.cocoon.components.pipeline.impl with parameters of type Environment | |
---|---|
protected void |
CachingPointProcessingPipeline.cacheResults(Environment environment,
OutputStream os)
Cache longest cacheable path plus cache points. |
protected void |
CachingProcessingPipeline.cacheResults(Environment environment,
OutputStream os)
Cache longest cacheable key |
protected abstract void |
AbstractCachingProcessingPipeline.cacheResults(Environment environment,
OutputStream os)
Abstract method defined in subclasses |
protected void |
CachingPointProcessingPipeline.connectCachingPipeline(Environment environment)
Connect the caching point pipeline. |
protected void |
CachingProcessingPipeline.connectCachingPipeline(Environment environment)
Connect the pipeline. |
protected abstract void |
AbstractCachingProcessingPipeline.connectCachingPipeline(Environment environment)
Abstract method defined in subclasses |
protected void |
AbstractCachingProcessingPipeline.connectPipeline(Environment environment)
Connect the pipeline. |
protected void |
ExpiresCachingProcessingPipeline.connectPipeline(Environment environment)
Connect the XML pipeline. |
protected void |
AbstractCachingProcessingPipeline.generateCachingKey(Environment environment)
The components of the pipeline are checked if they are Cacheable. |
protected void |
AbstractCachingProcessingPipeline.generateLock(Environment env,
Object key)
makes the lock (instantiates a new object and puts it into the store) |
protected void |
ExpiresCachingProcessingPipeline.preparePipeline(Environment environment)
Prepare the pipeline |
protected boolean |
AbstractCachingProcessingPipeline.processReader(Environment environment)
Process the pipeline using a reader. |
protected boolean |
ExpiresCachingProcessingPipeline.processReader(Environment environment)
|
protected boolean |
AbstractCachingProcessingPipeline.processXMLPipeline(Environment environment)
Process the given Environment , producing the output. |
protected boolean |
ExpiresCachingProcessingPipeline.processXMLPipeline(Environment environment)
Process the given Environment , producing the output. |
protected void |
AbstractCachingProcessingPipeline.setupPipeline(Environment environment)
Setup the evenet pipeline. |
protected void |
ExpiresCachingProcessingPipeline.setupPipeline(Environment environment)
|
protected void |
AbstractCachingProcessingPipeline.validatePipeline(Environment environment)
Calculate the key that can be used to get something from the cache, and handle expires properly. |
protected boolean |
AbstractCachingProcessingPipeline.waitForLock(Environment env,
Object key)
|
Uses of Environment in org.apache.cocoon.components.profiler |
---|
Methods in org.apache.cocoon.components.profiler with parameters of type Environment | |
---|---|
protected void |
ProfilingNonCachingProcessingPipeline.connect(Environment environment,
XMLProducer producer,
XMLConsumer consumer)
Connect the next component |
protected void |
ProfilingCachingProcessingPipeline.connect(Environment environment,
XMLProducer producer,
XMLConsumer consumer)
Connect the next component |
boolean |
ProfilingNonCachingProcessingPipeline.process(Environment environment)
Process the given Environment , producing the output. |
boolean |
ProfilingCachingProcessingPipeline.process(Environment environment)
Process the given Environment , producing the output. |
protected boolean |
ProfilingNonCachingProcessingPipeline.processReader(Environment environment)
Process the pipeline using a reader. |
protected boolean |
ProfilingCachingProcessingPipeline.processReader(Environment environment)
Process the pipeline using a reader. |
protected boolean |
ProfilingNonCachingProcessingPipeline.processXMLPipeline(Environment environment)
Process the SAX event pipeline |
protected boolean |
ProfilingCachingProcessingPipeline.processXMLPipeline(Environment environment)
Process the SAX event pipeline FIXME: VG: Why override processXMLPipeline, not process(env, consumer)? |
protected void |
ProfilingNonCachingProcessingPipeline.setupPipeline(Environment environment)
Setup pipeline components. |
protected void |
ProfilingCachingProcessingPipeline.setupPipeline(Environment environment)
Timed version of AbstractProcessingPipeline.setupPipeline(org.apache.cocoon.environment.Environment)
and AbstractCachingProcessingPipeline.setupPipeline(org.apache.cocoon.environment.Environment) . |
Constructors in org.apache.cocoon.components.profiler with parameters of type Environment | |
---|---|
EnvironmentInfo(Environment environment)
|
Uses of Environment in org.apache.cocoon.components.source |
---|
Methods in org.apache.cocoon.components.source with parameters of type Environment | |
---|---|
Source |
SourceHandlerImpl.getSource(Environment environment,
String location)
Deprecated. Get a Source object. |
Source |
CocoonSourceFactory.getSource(Environment environment,
String location)
Resolve the source |
Source |
FileSourceFactory.getSource(Environment environment,
String location)
Deprecated. |
Source |
SourceHandler.getSource(Environment environment,
String location)
Deprecated. Get a Source object. |
Source |
SourceFactory.getSource(Environment environment,
String location)
Deprecated. Get a Source object. |
Source |
SourceHandlerImpl.getSource(Environment environment,
URL base,
String location)
Deprecated. Get a Source object. |
Source |
CocoonSourceFactory.getSource(Environment environment,
URL base,
String location)
Resolve the source |
Source |
FileSourceFactory.getSource(Environment environment,
URL base,
String location)
Deprecated. |
Source |
SourceHandler.getSource(Environment environment,
URL base,
String location)
Deprecated. Get a Source object. |
Source |
SourceFactory.getSource(Environment environment,
URL base,
String location)
Deprecated. Get a Source object. |
Constructors in org.apache.cocoon.components.source with parameters of type Environment | |
---|---|
AbstractSAXSource(Environment environment,
ComponentManager manager,
Logger logger)
Deprecated. The constructor. |
Uses of Environment in org.apache.cocoon.components.source.impl |
---|
Fields in org.apache.cocoon.components.source.impl declared as Environment | |
---|---|
protected Environment |
AvalonToCocoonSource.environment
The environment |
protected Environment |
AvalonToCocoonSourceInvocationHandler.environment
The environment |
Methods in org.apache.cocoon.components.source.impl with parameters of type Environment | |
---|---|
static Source |
AvalonToCocoonSourceInvocationHandler.createProxy(Source source,
SourceResolver resolver,
Environment environment,
ComponentManager manager)
Creates a dynamic proxy for an excalibur Source object to
make it behave like a cocoon Source . |
Constructors in org.apache.cocoon.components.source.impl with parameters of type Environment | |
---|---|
AvalonToCocoonSource(Source source,
SourceResolver resolver,
Environment environment,
ComponentManager manager)
Constructor |
|
AvalonToCocoonSourceInvocationHandler(Source source,
SourceResolver resolver,
Environment environment,
ComponentManager manager)
Constructor |
Uses of Environment in org.apache.cocoon.components.treeprocessor |
---|
Methods in org.apache.cocoon.components.treeprocessor with parameters of type Environment | |
---|---|
ProcessingPipeline |
TreeProcessor.buildPipeline(Environment environment)
Process the given Environment to assemble
a ProcessingPipeline . |
ProcessingPipeline |
ConcreteTreeProcessor.buildPipeline(Environment environment)
Process the given Environment to assemble
a ProcessingPipeline . |
boolean |
ProcessingNode.invoke(Environment env,
InvokeContext context)
Process environment. |
boolean |
NullNode.invoke(Environment env,
InvokeContext context)
|
boolean |
SimpleParentProcessingNode.invoke(Environment env,
InvokeContext context)
Define common invoke behavior here |
boolean |
ContainerNode.invoke(Environment env,
InvokeContext context)
|
boolean |
CategoryNode.invoke(Environment env,
InvokeContext context)
|
boolean |
CategoryNode.invokeByName(String name,
Environment env,
InvokeContext context)
|
protected boolean |
AbstractParentProcessingNode.invokeNodes(ProcessingNode[] nodes,
Environment env,
InvokeContext context)
Invoke all nodes of a node array in order, until one succeeds. |
protected boolean |
AbstractParentProcessingNode.invokeNodes(ProcessingNode[] nodes,
Environment env,
InvokeContext context,
String currentName,
Map currentMap)
Invoke all nodes of a node array in order, until one succeeds. |
boolean |
TreeProcessor.process(Environment environment)
Process the given Environment producing the output. |
boolean |
ConcreteTreeProcessor.process(Environment environment)
Process the given Environment producing the output. |
protected boolean |
ConcreteTreeProcessor.process(Environment environment,
InvokeContext context)
Do the actual processing, be it producing the response or just building the pipeline |
Uses of Environment in org.apache.cocoon.components.treeprocessor.sitemap |
---|
Methods in org.apache.cocoon.components.treeprocessor.sitemap with parameters of type Environment | |
---|---|
Map |
ActionSetNode.call(Environment env,
InvokeContext context,
Parameters params)
Call the actions composing the action-set and return the combined result of these actions. |
boolean |
SwitchSelectNode.invoke(Environment env,
InvokeContext context)
|
boolean |
CallFunctionNode.invoke(Environment env,
InvokeContext context)
|
boolean |
AggregateNode.invoke(Environment env,
InvokeContext context)
|
boolean |
FlowNode.invoke(Environment env,
InvokeContext context)
This method should never be called by the TreeProcessor, since a <map:flow> element should not be in an
"executable" sitemap node. |
boolean |
ActSetNode.invoke(Environment env,
InvokeContext context)
|
boolean |
PipelinesNode.invoke(Environment env,
InvokeContext context)
Process the environment. |
boolean |
ActionSetNode.invoke(Environment env,
InvokeContext context)
|
boolean |
HandleErrorsNode.invoke(Environment env,
InvokeContext context)
|
boolean |
PreparableMatchNode.invoke(Environment env,
InvokeContext context)
|
boolean |
ActTypeNode.invoke(Environment env,
InvokeContext context)
|
boolean |
GenerateNode.invoke(Environment env,
InvokeContext context)
|
boolean |
CallNode.invoke(Environment env,
InvokeContext context)
|
boolean |
ScriptNode.invoke(Environment env,
InvokeContext context)
This method should never be called by the TreeProcessor, since a |
boolean |
SelectNode.invoke(Environment env,
InvokeContext context)
|
boolean |
MountNode.invoke(Environment env,
InvokeContext context)
|
boolean |
RedirectToURINode.invoke(Environment env,
InvokeContext context)
|
boolean |
ReadNode.invoke(Environment env,
InvokeContext context)
|
boolean |
TransformNode.invoke(Environment env,
InvokeContext context)
|
boolean |
MatchNode.invoke(Environment env,
InvokeContext context)
|
boolean |
SerializeNode.invoke(Environment env,
InvokeContext context)
|
boolean |
PipelineNode.invoke(Environment env,
InvokeContext context)
|
boolean |
ErrorHandlerHelper.invokeErrorHandler(Exception ex,
Environment env,
InvokeContext context)
Handle error. |
boolean |
ErrorHandlerHelper.invokeErrorHandler(ProcessingNode node,
Exception ex,
Environment env,
InvokeContext context)
Handle error using specified error handler processing node. |
ProcessingPipeline |
ErrorHandlerHelper.prepareErrorHandler(Exception ex,
Environment env,
InvokeContext context)
Prepare error handler for the internal pipeline error handling. |
Uses of Environment in org.apache.cocoon.environment |
---|
Classes in org.apache.cocoon.environment that implement Environment | |
---|---|
class |
AbstractEnvironment
Base class for any environment |
Fields in org.apache.cocoon.environment declared as Environment | |
---|---|
protected Environment |
ForwardRedirector.env
The Environment to use for redirection (either internal or external) |
Constructors in org.apache.cocoon.environment with parameters of type Environment | |
---|---|
ForwardRedirector(Environment env)
|
Uses of Environment in org.apache.cocoon.environment.background |
---|
Classes in org.apache.cocoon.environment.background that implement Environment | |
---|---|
class |
BackgroundEnvironment
A simple implementation of org.apache.cocoon.environment.Environment
for pipeline calls which are not externally triggered. |
Uses of Environment in org.apache.cocoon.environment.commandline |
---|
Classes in org.apache.cocoon.environment.commandline that implement Environment | |
---|---|
class |
AbstractCommandLineEnvironment
This environment is used to save the requested file to disk. |
class |
FileSavingEnvironment
This environment is used to save the requested file to disk. |
class |
LinkSamplingEnvironment
This environment is sample the links of the resource. |
Constructors in org.apache.cocoon.environment.commandline with parameters of type Environment | |
---|---|
CommandLineRequest(Environment env,
String contextPath,
String servletPath,
String pathInfo)
|
|
CommandLineRequest(Environment env,
String contextPath,
String servletPath,
String pathInfo,
Map attributes)
|
|
CommandLineRequest(Environment env,
String contextPath,
String servletPath,
String pathInfo,
Map attributes,
Map parameters)
|
|
CommandLineRequest(Environment env,
String contextPath,
String servletPath,
String pathInfo,
Map attributes,
Map parameters,
Map headers)
|
Uses of Environment in org.apache.cocoon.environment.http |
---|
Classes in org.apache.cocoon.environment.http that implement Environment | |
---|---|
class |
HttpEnvironment
HTTP Servlet environment. |
Uses of Environment in org.apache.cocoon.environment.portlet |
---|
Classes in org.apache.cocoon.environment.portlet that implement Environment | |
---|---|
class |
PortletEnvironment
Implements Environment interface for the JSR-168
Portlet environment. |
Uses of Environment in org.apache.cocoon.environment.wrapper |
---|
Classes in org.apache.cocoon.environment.wrapper that implement Environment | |
---|---|
class |
EnvironmentWrapper
This is a wrapper class for the Environment object. |
class |
MutableEnvironmentFacade
Enviroment facade, whose delegate object can be changed. |
Fields in org.apache.cocoon.environment.wrapper declared as Environment | |
---|---|
protected Environment |
EnvironmentWrapper.environment
The wrapped environment |
Constructors in org.apache.cocoon.environment.wrapper with parameters of type Environment | |
---|---|
EnvironmentWrapper(Environment env,
ComponentManager manager,
String uri,
Logger logger,
boolean wrapResponse)
|
|
EnvironmentWrapper(Environment env,
String requestURI,
String queryString,
Logger logger)
Constructs an EnvironmentWrapper object from a Request and Response objects |
|
EnvironmentWrapper(Environment env,
String requestURI,
String queryString,
Logger logger,
boolean rawMode)
Constructs an EnvironmentWrapper object from a Request and Response objects |
|
EnvironmentWrapper(Environment env,
String requestURI,
String queryString,
Logger logger,
ComponentManager manager,
boolean rawMode)
Constructs an EnvironmentWrapper object from a Request and Response objects |
|
EnvironmentWrapper(Environment env,
String requestURI,
String queryString,
Logger logger,
ComponentManager manager,
boolean rawMode,
String view)
Constructs an EnvironmentWrapper object from a Request and Response objects |
|
EnvironmentWrapper(Environment env,
String requestURI,
String queryString,
Logger logger,
ComponentManager manager,
boolean rawMode,
String view,
boolean wrapResponse)
Constructs an EnvironmentWrapper object from a Request and Response objects |
|
RequestWrapper(Request request,
String requestURI,
String queryString,
Environment env)
Constructor |
|
RequestWrapper(Request request,
String requestURI,
String queryString,
Environment env,
boolean rawMode)
Constructor |
Uses of Environment in org.apache.cocoon.portlet |
---|
Methods in org.apache.cocoon.portlet that return Environment | |
---|---|
protected Environment |
ManagedCocoonPortlet.getEnvironment(String servletPath,
String pathInfo,
String uri,
javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
Create the environment for the request |
protected Environment |
CocoonPortlet.getEnvironment(String servletPath,
String pathInfo,
String uri,
javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
Create the environment for the request |
protected Environment |
ManagedCocoonPortlet.getEnvironment(String servletPath,
String pathInfo,
String uri,
javax.portlet.RenderRequest req,
javax.portlet.RenderResponse res)
Create the environment for the request |
protected Environment |
CocoonPortlet.getEnvironment(String servletPath,
String pathInfo,
String uri,
javax.portlet.RenderRequest req,
javax.portlet.RenderResponse res)
Create the environment for the request |
Methods in org.apache.cocoon.portlet with parameters of type Environment | |
---|---|
protected void |
ManagedCocoonPortlet.manageException(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
Environment env,
String uri,
String title,
String message,
String description,
Exception e)
|
protected void |
CocoonPortlet.manageException(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
Environment env,
String uri,
String title,
String message,
String description,
Exception e)
|
protected void |
ManagedCocoonPortlet.manageException(javax.portlet.RenderRequest req,
javax.portlet.RenderResponse res,
Environment env,
String uri,
String title,
String message,
String description,
Exception e)
|
protected void |
CocoonPortlet.manageException(javax.portlet.RenderRequest req,
javax.portlet.RenderResponse res,
Environment env,
String uri,
String title,
String message,
String description,
Exception e)
|
Uses of Environment in org.apache.cocoon.servlet |
---|
Methods in org.apache.cocoon.servlet that return Environment | |
---|---|
protected Environment |
CocoonServlet.getEnvironment(String uri,
HttpServletRequest req,
HttpServletResponse res)
Create the environment for the request |
Methods in org.apache.cocoon.servlet with parameters of type Environment | |
---|---|
protected void |
CocoonServlet.manageException(HttpServletRequest req,
HttpServletResponse res,
Environment env,
String uri,
int errorStatus,
String title,
String message,
String description,
Exception e)
|
Uses of Environment in org.apache.cocoon.sitemap |
---|
Constructors in org.apache.cocoon.sitemap with parameters of type Environment | |
---|---|
SitemapErrorHandler(ErrorHandlerHelper handler,
Environment environment,
InvokeContext context)
Construct error handler with everything needed to handle an error. |
|
SitemapRedirector(Environment e)
Deprecated. Constructor with environment--so redirection happens as expected |
Uses of Environment in org.apache.cocoon.transformation |
---|
Fields in org.apache.cocoon.transformation declared as Environment | |
---|---|
protected Environment |
IncludeTransformer.environment
The Environment used within parallel threads |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |