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

Mark Struberg (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 15 12:26:41 EST 2011


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

Mark Struberg commented on CDI-56:
----------------------------------

Actually not sure if it might not be a cool feature.

@WorkFlowScoped(CloseOnChange)
public class MyWorkflowItem {...

Of course we would need to clarify that @Nonbinding must get evaluated, etc
Of course, I guess that no CDI container currently supports this ;) 
                
> 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