[cdi-dev] [JBoss JIRA] (CDI-232) Relax requirements for built-in Instance

Martin Kouba (JIRA) jira-events at lists.jboss.org
Fri Jan 4 03:40:08 EST 2013


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

Martin Kouba commented on CDI-232:
----------------------------------

By the way this applies to the built-in Event as well. 
{quote}
The container must provide a built-in bean with:
* Event<X> in its set of bean types, for every Java type X that does not contain a type variable,
* ...
{quote}
                
> Relax requirements for built-in Instance
> ----------------------------------------
>
>                 Key: CDI-232
>                 URL: https://issues.jboss.org/browse/CDI-232
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>    Affects Versions: 1.1.EDR
>            Reporter: Martin Kouba
>             Fix For: TBD
>
>
> 5.6.2. The built-in Instance
> {quote}
> The container must provide a built-in bean with:
> * Instance<X> and Provider<X> for every legal bean type X in its set of bean types,
> * every qualifier type in its set of qualifier types,
> {quote}
> This type/qualifier requirements seem to be too strict. Maybe we should omit these and instead force implementation to satisfy every injection point for every legal bean type and corresponding qualifiers found in application... or something like that. I'm not sure about the wording.
> By the way Weld (2.0.0.Alpha2) does not fulfil these requirements at the moment.

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