Home » commons-chain-1.2-src » org.apache.commons » chain »

org.apache.commons.chain

Sub Packages:

org.apache.commons.chain.apps.example    
org.apache.commons.chain.config   Optional package for configuring command chains in a catalog (using Digester) from an XML configuration file.  
org.apache.commons.chain.generic   Concrete implementations of generic Commands that are useful in many different environments, not tied to a particular tier such as Servlets).  
org.apache.commons.chain.impl   Convenient base implementations of Chain of Responsibility Pattern contracts from org.apache.commons.chain .  
org.apache.commons.chain.web   Basis for specialized Context implementations suitable for use in web applications, and generic Command implementations useful across web application environments.  
org.apache.commons.chain.web.faces   Specialized Context and Command implementations suitable for use in a JavaServer Faces API environment.  
org.apache.commons.chain.web.portlet   Specialized Context and Command implementations suitable for use in a Portlet API environment.  
org.apache.commons.chain.web.servlet   Specialized Context and Command implementations suitable for use in a Servlet API environment.  

Interfaces:

Catalog  

A Catalog is a collection of named Command s (or Chain s) that can be used to retrieve the set of commands that should be performed based on a symbolic identifier. 

code | html
Chain  

A Chain represents a configured list of Command s that will be executed in order to perform processing on a specified Context

code | html
Command  

A Command encapsulates a unit of processing work to be performed, whose purpose is to examine and/or modify the state of a transaction that is represented by a Context

code | html
Context  

A Context represents the state information that is accessed and manipulated by the execution of a Command or a Chain

code | html
Filter  

A Filter is a specialized Command that also expects the Chain that is executing it to call the postprocess() method if it called the execute() method. 

code | html

Abstract Classes:

CatalogFactory  

A CatalogFactory is a class used to store and retrieve Catalog s. 

code | html