[webbeans-issues] [JBoss JIRA] Updated: (WBRI-317) The container should not register an instance of the ObserverMethod for a method on a disabled bean

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Jul 28 06:41:29 EDT 2009


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

Pete Muir updated WBRI-317:
---------------------------

    Fix Version/s: 1.0.0.CR1


> The container should not register an instance of the ObserverMethod for a method on a disabled bean
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WBRI-317
>                 URL: https://jira.jboss.org/jira/browse/WBRI-317
>             Project: Web Beans
>          Issue Type: Feature Request
>          Components: Events
>    Affects Versions: 1.0.0.PREVIEW1
>            Reporter: Dan Allen
>            Assignee: David Allen
>             Fix For: 1.0.0.CR1
>
>
> According to section 12.3 of the spec, the container registers an instance of the ObserverMethod interface for each observer method of an enabled bean. If the bean is disabled (meaning it has a @Policy which is not listed in beans.xml), then there should be no corresponding ObserverMethod instances registered for methods in the class with an @Observer argument.
> see test org.jboss.jsr299.tck.tests.event.observer.resolve.ResolveEventObserversTest

-- 
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