[cdi-dev] [JBoss JIRA] (CDI-176) Clarify why EL name is not allowed when declaring resource

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Aug 23 18:11:14 EDT 2012


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

Pete Muir commented on CDI-176:
-------------------------------

I have no idea why this is the case. Anyone else?
                
> Clarify why EL name is not allowed when declaring resource
> ----------------------------------------------------------
>
>                 Key: CDI-176
>                 URL: https://issues.jboss.org/browse/CDI-176
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>    Affects Versions: 1.0
>            Reporter: Martin Kouba
>             Fix For: 1.1 (Proposed)
>
>
> CDI 1.0 spec states in section *3.5.1. Declaring a resource*:
> "If the producer field declaration specifies an EL name, the container automatically detects the problem and treats it as a definition error."
> Is there any reason to forbid EL name for declared resource?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list