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-96) Make base command implementations in o.a.c.chain2.base thread safe
Date Thu, 04 Jul 2013 19:25:48 GMT

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

Benedikt Ritter updated CHAIN-96:
---------------------------------

    Component/s: Base
    
> Make base command implementations in o.a.c.chain2.base thread safe
> ------------------------------------------------------------------
>
>                 Key: CHAIN-96
>                 URL: https://issues.apache.org/jira/browse/CHAIN-96
>             Project: Commons Chain
>          Issue Type: Improvement
>          Components: Base
>    Affects Versions: 2.0
>            Reporter: Benedikt Ritter
>             Fix For: 2.0
>
>
> The base classes in o.a.c.chain2.base are not thread safe. Since the JavaDoc of o.a.c.chain2.Command
says that command implementations have to be thread safe, we should make sure that this is
the case for the base implemenations we provide.
> One possibility is to initialize all fields through the constructor.
> Another solution is not to use fields, but to obtain required by the commands from the
context.

--
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