[cdi-dev] [JBoss JIRA] (CDI-164) Decorating built in beans

Martin Kouba (JIRA) jira-events at lists.jboss.org
Thu Nov 1 05:25:18 EDT 2012


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

Martin Kouba commented on CDI-164:
----------------------------------

This summary makes sense to me. Personally I don't see any use case for decorating extension beans and other container-provided non-built-in beans. Let's wait for users feedback and see if this feature would be useful...
                
> Decorating built in beans
> -------------------------
>
>                 Key: CDI-164
>                 URL: https://issues.jboss.org/browse/CDI-164
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Decorators
>    Affects Versions: 1.0
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>             Fix For: 1.1.PFD
>
>
> In CDI 1.0, decorators may only be applied to managed and session beans. Decorating built-in beans would make CDI extensions more powerful. 
> One of the possible usecases is represented by decorating the Event bean https://gist.github.com/1223042
> This would allow extensions to implement for example:
> * event queuing (Forge)
> * bidirectional mapping to another event technology without introducing infinite loops (Seam JMS)

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