Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-156

The container should not register an instance of the ObserverMethod for a method on a disabled bean

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0.CR1
    • 1.0.0.PREVIEW1
    • Events
    • None

    Description

      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

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            dan.j.allen Dan Allen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: