[
https://issues.jboss.org/browse/CDI-58?page=com.atlassian.jira.plugin.sys...
]
Jozef Hartinger reopened CDI-58:
--------------------------------
Reopening. It was discussed internally that instead of introducing the new interface, it
may make more sense to introduce a method:
{code:JAVA}
void addAnnotatedType(AnnotatedType<?> type, String id);
{code}
The id would not then be exposed by the AnnotatedType itself but an extension could still
use it to obtain the result of AnnotatedType processing by calling
ABD.getAnnotatedType(Class, ID). If the ID passed was null, the annotated type returned
would be the default AnnotatedType (the one that came from scanning bean archives, not the
one added by an extension).
Clarify that there can be multiple AnnotatedType instances per Java
class
-------------------------------------------------------------------------
Key: CDI-58
URL:
https://issues.jboss.org/browse/CDI-58
Project: CDI Specification Issues
Issue Type: Clarification
Components: Beans, Portable Extensions
Affects Versions: 1.0
Reporter: Pete Muir
Assignee: Pete Muir
Priority: Critical
Fix For: 1.1.PRD
This decision is really important to make. Either we remove/redefine
BeanManager#getAnnoatadType(Class) or we remove the 'artificial annotated types'.
--
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