commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Updated] (CHAIN-18) Proposal: DispatchChain
Date Thu, 04 Jul 2013 19:37:48 GMT


Benedikt Ritter updated CHAIN-18:

    Component/s: Base
> Proposal: DispatchChain
> -----------------------
>                 Key: CHAIN-18
>                 URL:
>             Project: Commons Chain
>          Issue Type: Improvement
>          Components: Base
>    Affects Versions: 1.0
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: sean schofield
>            Priority: Minor
>         Attachments:,,,,,,,
> Building on Joe's idea of DispatchAction, this class would allow you to call 
> an entire chain using a dispatch method.  The commands in the chain could be 
> either regular commands with dispatch methods or actual subclasses of 
> DispatchAction.
> I can envision scenarios where it would be nice to have combine several 
> commands and call them all using a variety of dispatch commands. 
> Example: One chain that would populate an object in the context by reading 
> from the database and another chain that would store the values back to the 
> database.  Each command in the chain could have a read() and write() method 
> and make use of common business logic such as communicating with the 
> appropriate DAO.
> I'll submit the actual code and test case sometime this weekend.  In the 
> meantime, I'm interested in feedback.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message