de.miethxml.hawron.cocoon
Interface CocoonBeanController

All Known Implementing Classes:
CocoonBeanControllerImpl

public interface CocoonBeanController

This controller interface for the CocoonBean

Author:
Simon Mieth

Method Summary
 void addProcessListener(ProcessListener l)
           
 void dispose()
           
 java.lang.Object getCocoonBean()
           
 void initialize(BeanConfiguration config)
          Configure and initialize a the CocoonBean with the given BeanConfiguration
 void interrupt()
          Interrupt the processing.
 void processTask(Task task)
          Process the given Task
 void processUri(java.lang.String uri, java.io.OutputStream out)
           
 void recycle()
          Recycle the CocoonBean for reprocessing Pipelines, with the current implementation of CocoonBean is only a dispose() and creating a new CocoonBean instance.
 void removeProcessListener(ProcessListener l)
           
 

Method Detail

initialize

public void initialize(BeanConfiguration config)
Configure and initialize a the CocoonBean with the given BeanConfiguration


processTask

public void processTask(Task task)
Process the given Task


recycle

public void recycle()
Recycle the CocoonBean for reprocessing Pipelines, with the current implementation of CocoonBean is only a dispose() and creating a new CocoonBean instance.


interrupt

public void interrupt()
Interrupt the processing.


addProcessListener

public void addProcessListener(ProcessListener l)

removeProcessListener

public void removeProcessListener(ProcessListener l)

getCocoonBean

public java.lang.Object getCocoonBean()
Returns:
the used CocoonBean

processUri

public void processUri(java.lang.String uri,
                       java.io.OutputStream out)

dispose

public void dispose()