[cdi-dev] [JBoss JIRA] (CDI-700) BeanManager.createInstance() shouldn't be allowed before AfterDeploymentValidation

Emily Jiang (JIRA) issues at jboss.org
Tue Apr 11 11:50:00 EDT 2017


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

Emily Jiang commented on CDI-700:
---------------------------------

Thanks Martin for your explanation! I misunderstood the whole sentence "before the AfterDeploymentValidation", (means after the validation not during the validation). Synced up!

> BeanManager.createInstance() shouldn't be allowed before AfterDeploymentValidation
> ----------------------------------------------------------------------------------
>
>                 Key: CDI-700
>                 URL: https://issues.jboss.org/browse/CDI-700
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>            Reporter: Antoine Sabot-Durand
>            Assignee: Matej Novotny
>             Fix For: 2.0 .Final
>
>
> Spec doesn't say anything about it and javadoc allows its usage in {{AfterBeanDiscovery}} observers.
> The method should also be listed in section 11.3 related to {{BeanManager}}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the cdi-dev mailing list