Commit graph

4 commits

Author SHA1 Message Date
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Ion-Mihai Tetcu
d87a177900 Update devel/jakarta-commons-chain to latest upstream stable version 1.1
PR:		107334
Submitted by:	Adam VanderHook (maintainer)
2007-01-03 23:11:39 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
Herve Quiroz
ba2fa185e2 Jakarta Commons Chain of Responsiblity library.
The Chain API models a computation as a series of "commands" that can be
combined into a "chain". The API for a command consists of a single method
(execute()), which is passed a "context" parameter containing the dynamic state
of the computation, and whose return value is a boolean that determines whether
or not processing for the current chain has been completed (true), or whether
processing should be delegated to the next command in the chain (false).

Given that command implementations are designed to conform with these
recommendations, it should be feasible to utilize the Chain of Responsibility
APIs in the "front controller" of a web application framework (such as Struts),
but also be able to use it in the business logic and persistence tiers to model
complex computational requirements via composition. In addition, separation of a
computation into discrete commands that operate on a general purpose context
allows easier creation of commands that are unit testable, because the impact of
executing a command can be directly measured by observing the corresponding
state changes in the context that is supplied.

WWW: http://jakarta.apache.org/commons/chain/

PR:		86800
Submitted by:	Adam VanderHook <acidos@bandwidth-junkies.net>
2005-10-17 17:58:21 +00:00