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

ObserverMethod.notify() breaks backwards compatibility

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Done
    • 1.1.EDR
    • 1.1.PFD
    • Events
    • None
    • Release Notes

    Description

      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);
      
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: