You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2014/03/02 12:22:19 UTC

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

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

Mikhail Mazursky closed ONAMI-95.
---------------------------------

    Resolution: Not A Problem

A year has passed - I think I can assume this is not relevant anymore and close. Feel free to reopen if needed.

> 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
>            Assignee: 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 was sent by Atlassian JIRA
(v6.1.5#6160)