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

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Jul 27 16:55:30 EDT 2009


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


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