API implementing Chain of Responsiblity design pattern
There is no maintainer for this port. Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org Port Added: 17 Oct 2005 18:01:08 Also Listed In:java License: AL2
Jakarta Commons Chain of Responsibility 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/
- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch
PR: ports/163521
Submitted by: Pedro Giffuni <pfg apache.org>
Hat: portmgr
Exp run by: pav
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
Apache Commons project are no longer hosted under MASTER_SITES_APACHE
jakarta/commons subdirectory, they have been moved one directory up.
Introduce MASTER_SITE_APACHE_COMMONS_SOURCE and adjust 22 ports accordingly.
PR: 121041
Submitted by: Marcin Cieslak <saper@system.pl>
Approved by: portmgr (linimon)
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>