[cdi-dev] [JBoss JIRA] (CDI-226) Clarify the @Singleton behaviour

Antoine Sabot-Durand (JIRA) issues at jboss.org
Mon Oct 10 03:40:01 EDT 2016


    [ https://issues.jboss.org/browse/CDI-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13304698#comment-13304698 ] 

Antoine Sabot-Durand commented on CDI-226:
------------------------------------------

During EG F2F 2016 we launch the idea of writing a mention about singleton saying its discourage in EE. 
This said it can be postponed to 2.1

> Clarify the @Singleton behaviour
> --------------------------------
>
>                 Key: CDI-226
>                 URL: https://issues.jboss.org/browse/CDI-226
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Contexts
>    Affects Versions: 1.1.EDR
>            Reporter: Daniel Sachse
>              Labels: F2F2016, application-scoped, singleton
>             Fix For: 2.0 (discussion)
>
>
> The specification should make a more clear statement about the Scope and Lifecycle of the @Singleton annotation.
> ATM it is e.g. totally unclear, in which environment a Singleton is guaranteed to be a Singleton(JVM, EAR, WAR,... ).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list