jakarta-commons-chain-1.2-2.jpp5.noarch.rpm


Advertisement

Description

jakarta-commons-chain - Commons Chain

Distribution: RPM Universal
Repository: JPackage 5.0 all
Package name: jakarta-commons-chain
Package version: 1.2
Package release: 2.jpp5
Package architecture: noarch
Package type: rpm
Installed size: 99.85 KB
Download size: 84.06 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).

Alternatives

Provides

  • jakarta-commons-chain = 1.2-2.jpp5

    Install Howto

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

    Files

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

    Changelog

    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

    Advertisement
    Advertisement