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

Mark Struberg (JIRA) jira-events at lists.jboss.org
Sat Apr 30 15:30:18 EDT 2011


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

Mark Struberg commented on CDI-8:
---------------------------------

Marius, I think you already gave the answer.

8. Decorators
Decorators may be associated with any managed bean that is not itself an interceptor or decorator or with any EJB session bean. A decorator instance is a dependent object of the object it decorates.

If the bean added via AfterBeanDiscovery is no interceptor, decorator or EJB session bean, than the Decorators should just work. Guess this is a Weld issue and not a spec issue (btw, there's a good chance that this doesn't work with OWB neither ;)


> 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