[cdi-dev] [JBoss JIRA] (CDI-83) Clarify that BeanManager.createAnnotatedType() should return any modifications made by lifecycle events.

Mark Struberg (JIRA) jira-events at lists.jboss.org
Sat Nov 10 19:54:18 EST 2012


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

Mark Struberg commented on CDI-83:
----------------------------------

> It is not possible to use the methods before annotated types are discovered and processed.
Indeed it is! BM#createAnnotatedType is often used to create a fresh AnnotatedType from an external class which is not part of a BDA. See Seam-XML and quite a few other CDI Extensions. Removing that would break backward compatibility.

I agree that it doesn't make much sense at runtime.
                
> Clarify that BeanManager.createAnnotatedType() should return any modifications made by lifecycle events.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CDI-83
>                 URL: https://issues.jboss.org/browse/CDI-83
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Portable Extensions
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.1 (Proposed)
>
>


--
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


More information about the cdi-dev mailing list