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

Raw observed container lifecycle event are not delivered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 2.2.4.Final
    • None

    Description

      From the CDI 1.2 specification:

      A parameterized event type is considered assignable to a raw observed event type if the raw types are identical.

      However when declaring the following observer method:

      void processInjectionTarget(@Observes ProcessInjectionTarget pit) {
      }
      

      No event are delivered.

      In addition, the specification states that:

      the observed event type parameter is an actual type with identical raw type to the event type parameter, and, if the type is parameterized, the event type parameter is assignable to the observed event type parameter

      However, when declaring the following observer method:

      void processInjectionTarget(@Observes ProcessInjectionTarget<Object> pit) {
      }
      

      No event are delivered.

      Attachments

        Activity

          People

            Unassigned Unassigned
            astefanu@redhat.com Antonin Stefanutti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: