org.apache.cocoon.components.flow.apples.samples
Class BindingWoodyApple

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.flow.apples.samples.BindingWoodyApple
All Implemented Interfaces:
LogEnabled, Serviceable, AppleController

public class BindingWoodyApple
extends AbstractLogEnabled
implements AppleController, Serviceable

BindingWoodyApple


Constructor Summary
BindingWoodyApple()
           
 
Method Summary
 void process(AppleRequest req, AppleResponse res)
          Allows the AppleController implementation to make some business decissions in a given web application flow.
protected  void processInitialization(AppleRequest req, AppleResponse res)
           
protected  void processValidation(AppleRequest req, AppleResponse res)
           
 void service(ServiceManager serviceManager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingWoodyApple

public BindingWoodyApple()
Method Detail

process

public void process(AppleRequest req,
                    AppleResponse res)
             throws ProcessingException
Description copied from interface: AppleController
Allows the AppleController implementation to make some business decissions in a given web application flow.

Typically those decissions will be based upon what it can find inside the passed AppleRequest and result into setting specific aspects of the AppleResponse

Specified by:
process in interface AppleController
Throws:
ProcessingException

processInitialization

protected void processInitialization(AppleRequest req,
                                     AppleResponse res)
                              throws ProcessingException
Throws:
ProcessingException

processValidation

protected void processValidation(AppleRequest req,
                                 AppleResponse res)
                          throws ProcessingException
Throws:
ProcessingException

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException


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