[cdi-dev] [JBoss JIRA] (CDI-671) SPI element related to Instance are missing info about their qualifier

Martin Kouba (JIRA) issues at jboss.org
Thu Dec 15 06:43:00 EST 2016


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

Martin Kouba commented on CDI-671:
----------------------------------

Also note that the behavior for {{javax.enterprise.inject.spi.CDI}} is undefined in CDI 1.2 and there should be no TCK test for this.

> SPI element related to Instance are missing info about their qualifier
> ----------------------------------------------------------------------
>
>                 Key: CDI-671
>                 URL: https://issues.jboss.org/browse/CDI-671
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Javadoc and API
>    Affects Versions: 2.0.Beta1
>            Reporter: Antoine Sabot-Durand
>             Fix For: 2.0 .Final
>
>
> Following elements are related to {{Instance}} interface:
> * {{CDI}} class implements {{Instance}} 
> * {{SeContainer}} extends {{Instance}}
> * {{BeanManager.createInstance()}} returns and {{Instance}} object
> If these {{Instance}} usage are all {{Instance<Object>}} there's no information regarding their qualifier.
> We should state in Javadoc and spec that these Instance behaves like an injected instance with  {{@Inject @Any Instance<Object>}} to allow access to all beans instance in the container.



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


More information about the cdi-dev mailing list