org.apache.cocoon
Class ProcessorWrapper

java.lang.Object
  extended by org.apache.cocoon.ProcessorWrapper
All Implemented Interfaces:
Disposable, Component, ThreadSafe, Processor

Deprecated. This class is not used anymore and will be removed with 2.2

public final class ProcessorWrapper
extends Object
implements Processor, Component, Disposable, ThreadSafe

This class is a wrapper around the real processor (the Cocoon class). It is necessary to avoid infinite dispose loops

Version:
CVS $Id: ProcessorWrapper.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
 
Fields inherited from interface org.apache.cocoon.Processor
ROLE
 
Constructor Summary
ProcessorWrapper(Processor processor)
          Deprecated.  
 
Method Summary
 ProcessingPipeline buildPipeline(Environment environment)
          Deprecated. Process the given Environment to assemble a ProcessingPipeline.
 void dispose()
          Deprecated.  
 Map getComponentConfigurations()
          Deprecated. Get the sitemap component configurations
 Processor getRootProcessor()
          Deprecated. Get the root parent processor of this processor
 boolean process(Environment environment)
          Deprecated. Process the given Environment producing the output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessorWrapper

public ProcessorWrapper(Processor processor)
Deprecated. 
Method Detail

dispose

public void dispose()
Deprecated. 
Specified by:
dispose in interface Disposable

process

public boolean process(Environment environment)
                throws Exception
Deprecated. 
Process the given Environment producing the output

Specified by:
process in interface Processor
Returns:
If the processing is successfull true is returned. If no match is found in the sitemap false is returned.
Throws:
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

buildPipeline

public ProcessingPipeline buildPipeline(Environment environment)
                                 throws Exception
Deprecated. 
Process the given Environment to assemble a ProcessingPipeline.

Specified by:
buildPipeline in interface Processor
Throws:
Exception
Since:
2.1

getComponentConfigurations

public Map getComponentConfigurations()
Deprecated. 
Get the sitemap component configurations

Specified by:
getComponentConfigurations in interface Processor
Since:
2.1

getRootProcessor

public Processor getRootProcessor()
Deprecated. 
Get the root parent processor of this processor

Specified by:
getRootProcessor in interface Processor
Since:
2.1.1


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.