[
https://issues.jboss.org/browse/CDI-507?page=com.atlassian.jira.plugin.sy...
]
Stephan Knitelius edited comment on CDI-507 at 2/17/16 3:16 PM:
----------------------------------------------------------------
Maybe it would help if it was explecitly mentioned.
Since it is only treated implicitly via @Scoped scopes being treated as pseudo scoped.
Which can lead to some odd behavior when using javax.inject.Singleton instead of
application scoped.
was (Author: sknitelius):
Maybe it would help if it was explecitly mentioned.
Since it is only treated implicitly via {code}@Scoped{code} scopes being treated as pseudo
scoped. Which can lead to some odd behavior when using javax.inject.Singleton instead of
application scoped.
CDI support for Singleton Pseudo Scope
--------------------------------------
Key: CDI-507
URL:
https://issues.jboss.org/browse/CDI-507
Project: CDI Specification Issues
Issue Type: Clarification
Environment: --NA-- (documentation)
Reporter: Abhishek Gupta
Section 2.4.1 states 5 built-in scope types including the pseudo scope @Dependent.
As per the Weld documentation, CDI also supports an additional pseudo scope -
@javax.inject.Singleton (see here -->
http://red.ht/1D3qu97)
Just wanted to confirm whether the CDI Specification document is missing this information
or the content in the Weld documentation is incorrect?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)