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

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Aug 16 06:21:26 EDT 2009


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

Pete Muir closed WBRI-315.
--------------------------

    Resolution: Done
      Assignee: Pete Muir  (was: David Allen)


> 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: Pete Muir
>             Fix For: 1.0.0.PREVIEW3
>
>
> 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