Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mentawai.core
Class Chain  view Chain download Chain.java

java.lang.Object
  extended byorg.mentawai.core.Chain
All Implemented Interfaces:
Consequence

public class Chain
extends java.lang.Object
implements Consequence

An action chaining consequence.


Field Summary
private  ActionConfig ac
           
 
Constructor Summary
Chain(ActionConfig ac)
          Creates a chain consequence for the given ActionConfig.
 
Method Summary
 void execute(Action a, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Executes this consequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ac

private ActionConfig ac
Constructor Detail

Chain

public Chain(ActionConfig ac)
Creates a chain consequence for the given ActionConfig.

Method Detail

execute

public void execute(Action a,
                    javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws ConsequenceException
Description copied from interface: Consequence
Executes this consequence. A consequence must do something with your web application. Here is where you define what the consequence does.

Specified by:
execute in interface Consequence