[cdi-dev] [JBoss JIRA] (CDI-202) Clarify when BeanManager.createBeanAttributes(AnnotatedMember) returns an alternative
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Aug 21 17:51:15 EDT 2012
[ https://issues.jboss.org/browse/CDI-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated CDI-202:
--------------------------
Fix Version/s: (was: 1.1 (Proposed))
> Clarify when BeanManager.createBeanAttributes(AnnotatedMember) returns an alternative
> -------------------------------------------------------------------------------------
>
> Key: CDI-202
> URL: https://issues.jboss.org/browse/CDI-202
> Project: CDI Specification Issues
> Issue Type: Clarification
> Components: Beans
> Affects Versions: 1.1.EDR1
> Reporter: Jozef Hartinger
> Assignee: Jozef Hartinger
>
> Currently, a producer field/method is an alternative if it is annotated with @Alternative or an alternative stereotype or the class declaring the field/method is annotated this way. However, when the BeanManager.createBeanAttributes(AnnotatedMember) method is called, the container has no access to the bean that declares the member. Therefore, the specification should clarify whether the container
> * should examine the AnnotatedType for @Alternative or alternative stereotypes
> * should try to infer the declaring bean (probably not possible since multiple beans may exist, each of them possibly modified in the ProcessBeanAttributes phase, etc.)
> * should make an assumption (e.g. the bean that declares the returned BeanAttributes is always assumed not to be an alternative)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list