You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2013/03/01 23:17:16 UTC

[jira] [Updated] (ONAMI-95) Add a "true" singleton scope

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

Jordan Zimmerman updated ONAMI-95:
----------------------------------

    Attachment: ONAMI-95.patch

I'm using git svn - hope that isn't an issue.
                
> Add a "true" singleton scope
> ----------------------------
>
>                 Key: ONAMI-95
>                 URL: https://issues.apache.org/jira/browse/ONAMI-95
>             Project: Apache Onami
>          Issue Type: New Feature
>          Components: scopes
>    Affects Versions: scopes-1.0.0
>            Reporter: Jordan Zimmerman
>            Priority: Minor
>             Fix For: scopes-1.0.0
>
>         Attachments: ONAMI-95.patch
>
>
> In Guice, Singeltons are unique per injector. In the JVM, manual singletons are unique per ClassLoader. Add a scope that creates a true Singleton that is unique per JVM regardless of injector or ClassLoader.

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