Gunnar Morling created CDI-419:
----------------------------------
Summary: Clarify whether custom beans need to declare the qualifier
"Any"
Key: CDI-419
URL:
https://issues.jboss.org/browse/CDI-419
Project: CDI Specification Issues
Issue Type: Clarification
Components: Beans
Reporter: Gunnar Morling
It's not obvious whether custom beans contributed through a portable extension need to
return the {{Any}} qualifier from there {{getQualifier()}} methods or not (the CDI
implementation would be required to add it if missing then).
Concerned spec sections are:
Section 2.3.1:
{quote}
Every bean has the built-in qualifier @Any, even if it does not explicitly declare this
qualifier ...
{quote}
And section 11.1 which says:
{quote}
getTypes(), getQualifiers(), getScope(), getName() and getStereotypes()
must return the bean types, qualifiers, scope type, bean name and
stereotypes of the bean, as defined in Chapter 2
{quote}
--
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