Details
-
Clarification
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
Description
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:
Every bean has the built-in qualifier @Any, even if it does not explicitly declare this qualifier ...
And section 11.1 which says:
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