[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:16:33 EDT 2012


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

Vivian Steller commented on CDI-194:
------------------------------------

Sorry, I'm not sure about this. I'm just utilizing ProcessBean events for "classpath scanning" (well correctly said "bean archive scanning", right;). In fact, as you mentioned, if there's a concrete class subclassing the abstract type you can traverse up the type hierarchy and find out the abstract one. However, to get the AnnotatedType representation of the identified abstract type, I'm utilizing Solder's AnnotatedTypeBuilder which of course isn't aware of any XML configuration. So if one could retrieve a Bean for the abstract type and if there was a Bean.getAnnotatedElement() method, this issue could be fixed nicely. Does my explanation make sense to you?
                
> 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