Sisyphus repository
Last update: 18 november 2017 | SRPMs: 17921 | Visits: 10391542
en ru br
ALT Linux repos
S:1.2-alt1_16jpp8

Group :: Development/Java
RPM: apache-commons-chain

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 1.2-alt1_16jpp8
Build date: 9 november 2017, 09:03 ( 1.4 weeks ago )
Size: 175.40 Kb

Home page:   http://commons.apache.org/chain/

License: ASL 2.0
Summary: An implementation of the GoF Chain of Responsibility pattern
Description:

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 pattern 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).

Current maintainer: Igor Vlasenko

List of contributors

List of rpms provided by this srpm:

  • apache-commons-chain-javadoc
  • apache-commons-chain
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin