Convenient base implementations of Chain of Responsibility Pattern contracts from org.apache.commons.chain.
org.apache.commons.chain
Implementation of Command that logs its identifier and and attempts to add a new Command to the Chain .
Simple in-memory implementation of Catalog .
Test case for the CatalogBase class.
CatalogBase
Test case for the CatalogFactoryBase class.
CatalogFactoryBase
Convenience base class for Chain implementations.
Test case for the ChainBase class.
ChainBase
Convenience base class for Context implementations.
In addition to the minimal functionality required by the Context interface, this class implements the recommended support for Attribute-Property Transparency
Test case for the ContextBase class.
ContextBase
Implementation of Command that logs its identifier and and delegates to the rest of the chain.
Implementation of Filter that logs its identifier and and delegates to the rest of the chain.
Implementation of Command that logs its identifier and and throws an Exception.
Implementation of Filter that logs its identifier and and throws an Exception.
Implementation of Command that simply logs its identifier and returns.
Implementation of Filter that logs its identifier and and returns true.
true
Context
ContextBaseTestCase