Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-609

Clarify behaviour of ObserverMethodConfigurator<T> read

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Obsolete
    • Major
    • None
    • 2.0-EDR2
    • None
    • None

    Description

      It's not clear what should happen in case if you are using ObserverMethodConfigurator and attempting to read from a method (Method, AnnotatedMethod) which doesn't have any parameter annotated @Observes. E.g something like this in ABD lifecycle event ("observesMelon" doesn't have any @Observes):

      Method melonMethod = FruitObserver.class.getMethod("observesMelon", Melon.class);
      abd.addObserverMethod().read(melonMethod)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tremes1@redhat.com Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: