org.apache.cocoon.components.flow.java
Class AbstractContinuable

java.lang.Object
  extended by org.apache.cocoon.components.flow.java.AbstractContinuable
All Implemented Interfaces:
Continuable
Direct Known Subclasses:
CalculatorFlow, FormFlow, FormInstance, PersistenceFlow

public abstract class AbstractContinuable
extends Object
implements Continuable

Abstract class to add basic methods for flow handling.

Version:
CVS $Id: AbstractContinuable.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Torsten Curdt, Stephan Michels

Constructor Summary
AbstractContinuable()
           
 
Method Summary
 Object getComponent(String id)
          Access components.
protected  ContinuationContext getContext()
           
 Logger getLogger()
           
 Map getObjectModel()
           
 Parameters getParameters()
           
 Request getRequest()
           
 void processPipelineTo(String uri, Object bizdata, OutputStream out)
           
 void redirectTo(String uri)
           
 void releaseComponent(Object component)
          Release pooled components.
 void sendPage(String uri)
           
 void sendPage(String uri, Object bizdata)
           
 void sendPageAndWait(String uri)
           
 void sendPageAndWait(String uri, Object bizdata)
           
 void sendStatus(int sc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractContinuable

public AbstractContinuable()
Method Detail

getContext

protected ContinuationContext getContext()

getLogger

public Logger getLogger()

sendPageAndWait

public void sendPageAndWait(String uri)

sendPageAndWait

public void sendPageAndWait(String uri,
                            Object bizdata)

sendPage

public void sendPage(String uri)

sendPage

public void sendPage(String uri,
                     Object bizdata)

getRequest

public Request getRequest()

getObjectModel

public Map getObjectModel()

getParameters

public Parameters getParameters()

processPipelineTo

public void processPipelineTo(String uri,
                              Object bizdata,
                              OutputStream out)

redirectTo

public void redirectTo(String uri)

sendStatus

public void sendStatus(int sc)

getComponent

public Object getComponent(String id)
Access components.


releaseComponent

public void releaseComponent(Object component)
Release pooled components.

Parameters:
component - a component


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