[
https://issues.apache.org/jira/browse/CXF-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833667#comment-13833667
]
Sergey Beryozkin commented on CXF-4702:
---------------------------------------
Sure, see
https://cwiki.apache.org/confluence/display/CXF20DOC/JAXRS+Services+Configuration#JAXRSServicesConfiguration-Sharingprovidersbetweenmultipleendpoints
(it points to the recently updated wiki), the current one is
http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Sharingprovidersbetweenmultipleendpoints
> Make it possible to get global JAX-RS providers registered on the bus
> ---------------------------------------------------------------------
>
> Key: CXF-4702
> URL: https://issues.apache.org/jira/browse/CXF-4702
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Fix For: 2.6.5, 2.7.2
>
>
> Typically, one will register JAX-RS providers on per-endpoint basis; the same
> provider may also be shared between multiple endpoints;
> However in some cases it may be useful to get the same provider shared
> between endpoints by simply registering the provider on the bus: this also
> simplifies the configuration of the individual endpoints.
> Bus interface offers typed extension API but the changes are needed to this
> API to make it easy to inject number of extensions from Spring/Blueprint;
> while it can make it simpler to work at the code level, the benefit at Spring
> level is minimal, and thus using Bus.setProperties appears to be sufficient
> at the moment
--
This message was sent by Atlassian JIRA
(v6.1#6144)