[
https://issues.apache.org/jira/browse/CXF-8304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy McCright resolved CXF-8304.
--------------------------------
Resolution: Fixed
> MP Rest Client 2.0: Use CDI-managed providers
> ---------------------------------------------
>
> Key: CXF-8304
> URL: https://issues.apache.org/jira/browse/CXF-8304
> Project: CXF
> Issue Type: Sub-task
> Components: MicroProfile
> Reporter: Andy McCright
> Assignee: Andy McCright
> Priority: Major
> Fix For: 3.4.0
>
>
> In MP Rest Client [issue
> 256|https://github.com/eclipse/microprofile-rest-client/issues/256]
> (implemented by [PR
> 277|https://github.com/eclipse/microprofile-rest-client/pull/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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)