[cdi-dev] [JBoss JIRA] (CDI-194) Allow AnnotatedType for a given Bean to be obtained

Vivian Steller (JIRA) jira-events at lists.jboss.org
Thu Aug 30 10:01:33 EDT 2012

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

Vivian Steller commented on CDI-194:

+1 adding getAnnotated...() to Bean. 

IMO sophisticated support for working with Annotated* is one of the strongest features of CDI in the context of framework development and really a missing thing in plain Java: an indirection layer for annotating types. Implemented against CDI's annotated type facility, framework developers gain XML configurability of their beans out-of-the-box (with the XML config extension by Seam3/DeltaSpike). This is just cool! One tiny issue is remaining though: frameworks on top of CDI cannot honor abstract types, since these aren't regular CDI beans. Thus no ProcessX events, no annotated types etc. which is a bit sad. But I guess recognizing abstract types as Beans (yet not injectable ones) is a bit too much?
> Allow AnnotatedType for a given Bean to be obtained
> ---------------------------------------------------
>                 Key: CDI-194
>                 URL: https://issues.jboss.org/browse/CDI-194
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Portable Extensions
>    Affects Versions: 1.0
>            Reporter: Jozef Hartinger
>             Fix For: 1.1 (Proposed)
> See Stuart's comment on CDI-83.

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