[cdi-dev] [JBoss JIRA] (CDI-203) Decorator support for @MessageDriven bean MessageListener interface
Mark Struberg (JIRA)
jira-events at lists.jboss.org
Thu Aug 2 14:56:06 EDT 2012
[ https://issues.jboss.org/browse/CDI-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709541#comment-12709541 ]
Mark Struberg commented on CDI-203:
-----------------------------------
Imo it's almost the same as with other EJBs. They mostly contain a business method - just now invoked via JMS and not by a user.
Btw, I'd not say "Decorators are applied when a bean is injected" but rather "Decorator instances are created as @Dependent instances when the decorated contextual instance gets created".
You don't inject it into another bean, but the same is true for beans resolved via EL.
> Decorator support for @MessageDriven bean MessageListener interface
> -------------------------------------------------------------------
>
> Key: CDI-203
> URL: https://issues.jboss.org/browse/CDI-203
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Decorators, Java EE integration
> Affects Versions: 1.1 (Proposed)
> Reporter: David Blevins
> Fix For: TBD
>
>
> Interceptors message-driven beans are explicitly mentioned as supported in CDI 1.0, but decorator support appears to be clearly left out. Decorators that implement the message listener interface would be very useful. As well, most contains have one stack now that does both interceptors and decorators, so enabling this for MDBs would be quite easy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list