[jira] [Created] (CXF-7643) [jaxrs][cdi] Remove ContextProducer beans

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (CXF-7643) [jaxrs][cdi] Remove ContextProducer beans

JIRA jira@apache.org
Romain Manni-Bucau created CXF-7643:

             Summary: [jaxrs][cdi] Remove ContextProducer beans
                 Key: CXF-7643
                 URL: https://issues.apache.org/jira/browse/CXF-7643
             Project: CXF
          Issue Type: Task
    Affects Versions: 3.2.1
            Reporter: Romain Manni-Bucau

ContextProducerBeans are added for all @Context fields.

This is not in the spec so it must use a custom qualifier only and not leak @Default support for all context types.
Currently it fails with servlet beans which are supported by any CDI@servlet container and already provided as required by the spec which leads to 1. an inconsistent bean being deployed 2. an ambiguous resolution.

Side note: this feature can stay as an activable thing but not as a default for the mentionned reasons.

This message was sent by Atlassian JIRA