apache-commons-chain - Apache Commons Chain

Distribution: RPM Universal
Repository: JPackage 6.0 all
Package name: apache-commons-chain
Package version: 1.3
Package release: 0.r831527.5.jpp6
Package architecture: noarch
Package type: rpm
Installed size: 110.28 KB
Download size: 92.61 KB
Official Mirror: mirrors.dotsrc.org
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).



  • apache-commons-chain = 1.3-0.r831527.5.jpp6
  • commons-chain = 1.3-0.r831527.5.jpp6
  • jakarta-commons-chain = 1.3-0.r831527.5.jpp6


  • commons-chain < 1.3-0.r831527.5.jpp6
  • jakarta-commons-chain < 1.3-0.r831527.5.jpp6

    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the latest jpackage-release rpm from
    2. Install jpackage-release rpm:
      # rpm -Uvh jpackage-release*rpm
    3. Install apache-commons-chain rpm package:
      # yum install apache-commons-chain
    1. Add the JPackage 6.0 repository:
      # zypper addrepo http://mirrors.dotsrc.org/jpackage/6.0/generic/free/ jpackage-6.0
    2. Install apache-commons-chain rpm package:
      # zypper install apache-commons-chain
    Mandriva, Mageia:
    1. Add the JPackage 6.0 repository:
      # urpmi.addmedia jpackage-6.0 http://mirrors.dotsrc.org/jpackage/6.0/generic/free/ with hdlist.cz
    2. Update packages list:
      # urpmi.update -a
    3. Install apache-commons-chain rpm package:
      # urpmi apache-commons-chain


    • /etc/maven/fragments/apache-commons-chain
    • /usr/share/doc/apache-commons-chain-1.3/LICENSE.txt
    • /usr/share/java/apache-commons-chain-1.3.jar
    • /usr/share/java/apache-commons-chain.jar
    • /usr/share/java/commons-chain-1.3.jar
    • /usr/share/java/commons-chain.jar
    • /usr/share/java/jakarta-commons-chain-1.3.jar
    • /usr/share/java/jakarta-commons-chain.jar
    • /usr/share/maven2/poms/JPP-apache-commons-chain.pom


    2010-10-07 - Ralph Apel <r.apel@r-apel.de> 0:1.3-0.r831527.5 - Provide compat symlinks for jakarta-commons-chain

    2010-09-23 - Ralph Apel <r.apel@r-apel.de> 0:1.3-0.r831527.4 - Drop Requires for apache-commons-parent

    2010-09-12 - Ralph Apel <r.apel@r-apel.de> 0:1.3-0.r831527.3 - BR liberation-fonts to reactivate manual

    2010-09-07 - Ralph Apel <r.apel@r-apel.de> 0:1.3-0.r831527.2 - OK move it to free - Manual omitted

    2009-11-26 - Ralph Apel <r.apel@r-apel.de> 0:1.3-0.r831527.1 - 1.3 - rename to apache-commons-chain - build with maven2 by default

    2009-03-16 - Ralph Apel <r.apel@r-apel.de> 0:1.2-2.jpp5 - Relax (B)Rs to generic (underscored)

    2008-09-30 - David Walluck <dwalluck@redhat.com> 0:1.2-1 - 1.2

    2007-08-13 - Ralph Apel <r.apel@r-apel.de> 0:1.1-1jpp - Upgrade to 1.1 - Add gcj_support option - Add pom and depmap frag - Make Vendor, Distribution based on macro

    2006-04-12 - Ralph Apel <r.apel@r-apel.de> 0:1.0-2jpp - First JPP-1.7 release - Build with maven by default - Add option to build with straight ant - Add -manual subpackage

    2005-10-18 - Ralph Apel <r.apel@r-apel.de> 0:1.0-1jpp - First release