]
Stephan Knitelius commented on CDI-507:
---------------------------------------
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?