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

CDI 5.0 - implement the concept of reserves

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Alpha1
    • None
    • None
    • None

      CDI 5.0 adds the concept of reserves ("default beans") that Weld needs to implement.

      Some impl notes:

      • Every bean now needs to carry an information as to whether it is a standard bean or a reserve
      • Synth beans can declare reserves as well (BCE, PE)
      • Stereotypes can declare reserves
      • Reserves need to be enabled via priority
      • AfterTypeDiscovery allows access to list of all reserves along with the ability to modify them, much like for alternatives and interceptors
      • Bean resolution algorithm will need to be changed to account for reserves

              manovotn Matěj Novotný
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: