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

Jordan Zimmerman commented on ONAMI-95:
---------------------------------------

> 1. Correct me if i'm wrong but i'm pretty sure this implementation will not 
> work under OSGi 
Unfortunately, I know next to nothing about OSGi. I've done this type of thing 
inside of Tomcat (which creates its own Classloader) but that's all.
                
> 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 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

Reply via email to