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

Clarify behaviour of ObserverMethodConfigurator<T> read

XMLWordPrintable

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

      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)
      

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

                Created:
                Updated:
                Resolved: