You are here: Home / LBN / Up2date / Core Linux / BastionLinux 19 / apache-commons-chain-1.2-6.fc19.noarch

apache-commons-chain-1.2-6.fc19.noarch

Package Attributes
RPM  apache-commons-chain-1.2-6.fc19.noarch.rpm Architecture  noarch Size  113335 Created  2019/09/30 06:52:25 UTC
Package Specification
Summary An implementation of the GoF Chain of Responsibility pattern
Group Development/Libraries
License ASL 2.0
Home Page http://commons.apache.org/chain/
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).

Requires
java  
portlet-2.0-api  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
jboss-jsf-2.1-api  
rpmlib(CompressedFileNames)  
jpackage-utils  
rpmlib(PayloadIsXz)  
Provides
apache-commons-chain
mvn(commons-chain:commons-chain)
osgi(org.apache.commons.chain)

Document Actions