apache-commons-chain - An implementation of the GoF Chain of Responsibility pattern

Distribution: Mageia 6.0
Repository: Mageia Core i586
Package name: apache-commons-chain
Package version: 1.2
Package release: 15.mga6
Package architecture: noarch
Package type: rpm
Installed size: 117.01 KB
Download size: 97.05 KB
Official Mirror: distrib-coffee.ipsl.jussieu.fr
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).



  • apache-commons-chain == 1.2-15.mga6
  • mvn(commons-chain:commons-chain) == 1.2
  • mvn(commons-chain:commons-chain:pom:) == 1.2
  • osgi(org.apache.commons.chain) == 1.2.0

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install apache-commons-chain rpm package:
      # urpmi apache-commons-chain


    • /usr/share/doc/apache-commons-chain/RELEASE-NOTES.txt
    • /usr/share/java/apache-commons-chain.jar
    • /usr/share/java/commons-chain.jar
    • /usr/share/licenses/apache-commons-chain/LICENSE.txt
    • /usr/share/licenses/apache-commons-chain/NOTICE.txt
    • /usr/share/maven-metadata/apache-commons-chain.xml
    • /usr/share/maven-poms/apache-commons-chain.pom
    • /usr/share/maven-poms/commons-chain.pom


    2017-05-18 - neoclust <neoclust> 1.2-15.mga6 + Revision: 1103024 - Rebuild against new apache-parent

    2016-03-02 - neoclust <neoclust> 1.2-14.mga6 + Revision: 982349 - Second rebuild of the java stack

    2016-02-21 - neoclust <neoclust> 1.2-13.mga6 + Revision: 975426 - First rebuild of the java stack - sync package apache-commons-chain with fedora + umeabot <umeabot> - Mageia 6 Mass Rebuild

    2014-12-25 - pterjan <pterjan> 1.2-11.mga5 + Revision: 805810 - Clean rebuild + dmorgan <dmorgan> - Restore from Obsolete + sander85 <sander85> - Depends on broken java stack

    2014-10-15 - umeabot <umeabot> 1.2-9.mga5 + Revision: 739194 - Second Mageia 5 Mass Rebuild

    2014-09-16 - umeabot <umeabot> 1.2-8.mga5 + Revision: 677789 - Mageia 5 Mass Rebuild