[cdi-dev] [JBoss JIRA] (CDI-56) Clarify that scope types should not have members

Martin Kouba (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 15 07:30:41 EST 2011


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

Martin Kouba commented on CDI-56:
---------------------------------

We should also clarify what happens if a scope type has members. I believe it's definition error in this case.
                
> Clarify that scope types should not have members
> ------------------------------------------------
>
>                 Key: CDI-56
>                 URL: https://issues.jboss.org/browse/CDI-56
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Concepts
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>            Assignee: Pete Muir
>             Fix For: 1.1.EDR1
>
>
> The spec should mention that @NormalScope annotations should not have annotation members. Perhaps this should be a definition error. javax.inject.Scope already mentions this.

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