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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: MicroProfile
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: