[cdi-dev] [JBoss JIRA] (CDI-620) Not clear what the id for an annotated type is.

arjan tijms (JIRA) issues at jboss.org
Sun Jul 3 10:53:00 EDT 2016


    [ https://issues.jboss.org/browse/CDI-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261199#comment-13261199 ] 

arjan tijms commented on CDI-620:
---------------------------------

+1 for this issue. In Soteria we were a bit confused too about what to provide here. 

Implementation detail; Weld accepts a null for the ID, while OWB throws an exception. 

{{BeforeBeanDiscovery#addAnnotatedType}} has a similar problem, although the javadoc at least mention the id there it's still not overly clear what "The id of the annotated type" should be.

> Not clear what the id for an annotated type is.
> -----------------------------------------------
>
>                 Key: CDI-620
>                 URL: https://issues.jboss.org/browse/CDI-620
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: John Ament
>
> The docs for AfterTypeDiscovery.addAnnotatedType(String, Class) do not state what the id is.
> In addition, it's odd that the addAnnotatedType(AnnotatedType, String) is in that order, and this method is in this order.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list