Development/Libraries/Java

jakarta-commons-chain: Commons Chain

Name:jakarta-commons-chain Vendor:JPackage Project
Version:1.0 License:Apache License 2.0
Release:1jpp URL:http://jakarta.apache.org/commons/sandbox/chain/
Summary
A popular technique for organizing the execution of complex processing flows is the "Chain of Responsibility" pattern, as described (among many other places) in the classic "Gang of Four" design patterns book. Although the fundamental API contracts required to implement this design patten are extremely simple, it is useful to have a base API that facilitates using the pattern, and (more importantly) encouraging composition of command implementations from multiple diverse sources. Towards that end, 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).

Arch: noarch

Download:jakarta-commons-chain-1.0-1jpp.noarch.rpm
Build Date:Wed Oct 19 16:17:35 2005
Packager:Ralph Apel <[email protected]>
Size:90 KiB

Arch: noarch

Download:jakarta-commons-chain-1.0-1jpp.src.rpm
Build Date:Wed Oct 19 16:17:35 2005
Packager:Ralph Apel <[email protected]>
Size:306 KiB

Changelog

* Tue Oct 18 12:00:00 2005 Ralph Apel <r{*}apel{%}r-apel{*}de> 0:1.0-1jpp
- First release

Listing created by RepoView-0.4.1