[weld-issues] [JBoss JIRA] Resolved: (WELD-824) injection/initializer/observer inheritance broken on Beans registered through BBD.addAnnotatedType()

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue Jul 19 21:11:23 EDT 2011


     [ https://issues.jboss.org/browse/WELD-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved WELD-824.
---------------------------------

         Assignee: Stuart Douglas
    Fix Version/s: 1.1.2.Final
       Resolution: Done


> injection/initializer/observer inheritance broken on Beans registered through BBD.addAnnotatedType()
> ----------------------------------------------------------------------------------------------------
>
>                 Key: WELD-824
>                 URL: https://issues.jboss.org/browse/WELD-824
>             Project: Weld
>          Issue Type: Bug
>          Components: Class Beans (Managed and Session)
>    Affects Versions: 1.1.0.CR4
>            Reporter: Jozef Hartinger
>            Assignee: Stuart Douglas
>             Fix For: 1.1.2.Final
>
>
> I am having two classes: Foo and Bar where Bar extends Foo. Both these classes are outside of BDA (a jar with no beans.xml placed in WEB-INF/lib of a web app that has beans.xml) The Bar class is registered through a portable Extension (BeforeBeanDiscovery.addAnnotatedType()).
> The problem is that while injection/initializers/event observers defined on the Bar class work as expected, the ones defined on the Foo class are never called. (Note that the Foo class itself is not registered as a Bean - Nevertheless, CDI services should be enabled on Bar's superclasses according to the spec)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list