[weld-issues] [JBoss JIRA] (WELD-992) Event of type ProcessObserverMethod not fired while adding observer method via AfterBeanDiscovery

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Tue May 15 11:07:18 EDT 2012


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

Jozef Hartinger resolved WELD-992.
----------------------------------

      Assignee: Jozef Hartinger
    Resolution: Done

    
> Event of type ProcessObserverMethod not fired while adding observer method via AfterBeanDiscovery
> -------------------------------------------------------------------------------------------------
>
>                 Key: WELD-992
>                 URL: https://issues.jboss.org/browse/WELD-992
>             Project: Weld
>          Issue Type: Bug
>          Components: Bootstrap and Metamodel API, Events
>    Affects Versions: 1.1.2.Final
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
>             Fix For: 2.0.0.Alpha3
>
>
> CDI 1.0 *11.5.2. AfterBeanDiscovery event* states:
> "addObserverMethod() fires an event of type ProcessObserverMethod containing the given ObserverMethod and then registers the ObserverMethod with the container, thereby making it available for event."
> No event of type ProcessObserverMethod is fired when adding new observer method via *javax.enterprise.inject.spi.AfterBeanDiscovery.addObserverMethod(ObserverMethod<?>)*. However the new observer method is registered correctly. Refer to CDI TCK test [1].
> [1] https://github.com/jboss/cdi-tck/blob/master/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/afterBeanDiscovery/AfterBeanDiscoveryTest.java

--
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 weld-issues mailing list