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


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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to