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

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Tue May 24 17:53:01 EDT 2011


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

Marius Bogoevici commented on CDI-74:
-------------------------------------

Yes. We should describe the desired behaviour, not implementation. Any other observable effects besides the 3 that I mentioned?

> 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
>            Assignee: 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list