commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/CHAIN-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedikt Ritter updated CHAIN-18:
---------------------------------

    Component/s: Base
    
> Proposal: DispatchChain
> -----------------------
>
>                 Key: CHAIN-18
>                 URL: https://issues.apache.org/jira/browse/CHAIN-18
>             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: ASF.LICENSE.NOT.GRANTED--DelegatingDispatchCommand.java, ASF.LICENSE.NOT.GRANTED--DelegatingDispatchFilter.java,
ASF.LICENSE.NOT.GRANTED--DispatchChain.java, ASF.LICENSE.NOT.GRANTED--DispatchChainTestCase.java,
ASF.LICENSE.NOT.GRANTED--ExceptionDispatchCommand.java, ASF.LICENSE.NOT.GRANTED--ExceptionDispatchFilter.java,
ASF.LICENSE.NOT.GRANTED--NonDelegatingDispatchCommand.java, ASF.LICENSE.NOT.GRANTED--NonDelegatingDispatchFilter.java
>
>
> 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: http://www.atlassian.com/software/jira

Mime
View raw message