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

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Nov 1 05:50:18 EDT 2012


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

Pete Muir commented on CDI-164:
-------------------------------

Of these, the only ones that could be useful to decorate would be the validator stuff, and they should probably be called "built-in beans" anyway...
                
> 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