incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-120) User singleton scope for injections that should have a unique instance
Date Thu, 07 Mar 2013 11:52:13 GMT

    [ https://issues.apache.org/jira/browse/S4-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595801#comment-13595801
] 

Matthieu Morel commented on S4-120:
-----------------------------------

We'd rather use @Singleton annotation for singleton classes, instead of scoping in the binding
statement, because @Singleton also serves as documentation (impl class must be threadsafe)

I uploaded an update to the patch to address that in commit 1eb5c87 
                
> User singleton scope for injections that should have a unique instance
> ----------------------------------------------------------------------
>
>                 Key: S4-120
>                 URL: https://issues.apache.org/jira/browse/S4-120
>             Project: Apache S4
>          Issue Type: Bug
>            Reporter: Matthieu Morel
>            Assignee: Matthieu Morel
>             Fix For: 0.6
>
>
> for instance: emitter, cluster etc...

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