org.apache.commons.chain |
Package Documentation for org.apache.commons.chain
The fundamental API contracts for the Chain of Responsibilty Pattern as
implemented in this package. See
org.apache.commons.chain.impl for
convenient base implementations of Chain and Context ,
and see org.apache.commons.chain.web for
specialized Context implementations suitable for use in web
applications.
|
Java Source File Name | Type | Comment |
Catalog.java | Interface | A
Catalog is a collection of named
Command s (or
Chain s) that can be used retrieve the set of commands that
should be performed based on a symbolic identifier. |
CatalogFactory.java | Class | A
CatalogFactory is a class used to store and retrieve
Catalog s. |
Chain.java | Interface | A
Chain represents a configured list of
Command s that will be executed in order to perform processing
on a specified
Context . |
Command.java | Interface | 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 . |
Context.java | Interface | A
Context represents the state information that is
accessed and manipulated by the execution of a
Command or a
Chain . |
Filter.java | Interface | 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. |