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

ObserverMethod.notify() breaks backwards compatibility

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.1.PFD
    • 1.1.EDR
    • Events
    • None
    • Release Notes

      ObserverMethod.notify(T event, Set<Annotation> qualifiers) has been added post CDI 1.0 as part of CDI-36.

      The added method breaks backwards compatibility (an existing 1.0 Extension may be registering an ObserverMethod implementation that would not implement that method, since it is not part of the 1.0 API).

      We should probably isolate that method into a subinterface e.g.:

      public interface CuriousObserverMethod<T> extends ObservetMethod<T> {
      
         void notify(T event, Set<Annotation> qualifiers);
      
      }
      

            pmuiratbleepbleep Pete Muir (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: