[cdi-dev] [JBoss JIRA] (CDI-74) State explicitely that Decorators must be implemented using subclassing

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Sep 17 11:16:36 EDT 2012

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

Pete Muir commented on CDI-74:

Working through this:

(1) I have clarified that due CDI-6, produce must return an instance that can be reflected on
(2) There is currently no restriction on what kind of constructor a dependent scoped bean may have, but I will try to explicitly state this
(3) I'm not we can specify this, it's really an impl issue
> State explicitely that Decorators must be implemented using subclassing
> -----------------------------------------------------------------------
>                 Key: CDI-74
>                 URL: https://issues.jboss.org/browse/CDI-74
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Decorators
>    Affects Versions: 1.0
>            Reporter: Marius Bogoevici
>             Fix For: 1.1 (Proposed)
> Subclassing should be mandatory for Decorators of managed beans which are not session beans (no restrictions in the case of the latter).
> This ensures that:
> - fields on pseudo scoped managed beans are accessible
> - there's no restriction on what kinds of constructors may a managed bean have 
> - no extra bean instances are created when a managed bean is created

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