[cdi-dev] [JBoss JIRA] Commented: (CDI-8) Decorators are not applied to custom beans

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun May 1 13:10:18 EDT 2011


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

Pete Muir commented on CDI-8:
-----------------------------

No, this isn't clear in the spec. As Marius says "any *managed* bean that is not itself an interceptor or decorator..." - Bean's which are added via addBean aren't defined as *managed* beans - from 2.1 "A managed bean is a bean that is implemented by a Java class. " whilst a bean added via addBean is implemented any way the user desires. If we removed the word managed from the sentence then it would be as Mark says.

> Decorators are not applied to custom beans
> ------------------------------------------
>
>                 Key: CDI-8
>                 URL: https://issues.jboss.org/browse/CDI-8
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Decorators, Portable Extensions
>    Affects Versions: 1.0
>            Reporter: Stuart Douglas
>             Fix For: TBD
>
>
> Beans added with AfterBeanDiscovery.addBean() do not have decorators applied

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