[webbeans-issues] [JBoss JIRA] Created: (WBRI-315) Beans with scope @Dependent may not have conditional observer methods

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Jul 27 15:45:29 EDT 2009


Beans with scope @Dependent may not have conditional observer methods
---------------------------------------------------------------------

                 Key: WBRI-315
                 URL: https://jira.jboss.org/jira/browse/WBRI-315
             Project: Web Beans
          Issue Type: Feature Request
          Components: Events
    Affects Versions: 1.0.0.PREVIEW1
            Reporter: Dan Allen
            Assignee: David Allen


According to section 10.4.4 of the 20090625 spec, Beans with scope @Dependent may not have conditional observer methods. If a bean with scope @Dependent has an observer method declared notify=IF_EXISTS, the container automatically detects the problem and treats it as a definition error, as defined in Section 12.4, "Problems detected automatically by the container".

Currently, the RI does not detect this problem.

See test org.jboss.jsr299.tck.tests.event.broken.observer.dependentIsConditionalObserver.DependentIsConditionalObserverTest

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list