Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8262 Implement MicroProfile Rest Client 2.0
  3. CXF-8304

MP Rest Client 2.0: Use CDI-managed providers

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • MicroProfile
    • None
    • Unknown

    Description

      In MP Rest Client issue 256 (implemented by PR 277, implementations are required to check (1) if CDI exists in the runtime and (2) if CDI is managing an instance of the provider class specified by the client interface - and if so, then use the CDI-managed provider instead of creating one using newInstance(). This applies for cases where the provider class is registered, not a pre-created instance of the provider.

      Attachments

        Activity

          People

            amccright Andy McCright
            amccright Andy McCright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: