Description
Enhancement to allow a list of custom providers be specified for a spring configured JAX-RS server. Syntax as below:
<jaxrs:server id="bookservice"
address="/">
<jaxrs:serviceBeans>
<ref bean="bookstore"/>
</jaxrs:serviceBeans>
<jaxrs:entityProviders>
<bean class="org.apache.cxf.jaxrs.provider.JAXBElementProvider"/>
<bean class="org.apache.cxf.jaxrs.provider.StringProvider"/>
<bean class="org.apache.cxf.jaxrs.provider.BadgerFishProvider"/>
</jaxrs:entityProviders>
</jaxrs:server>
<bean id="bookstore" scope="prototype" class="org.apache.cxf.systest.jaxrs.BookStore">
</bean>
This list will overwrite the default Entity Provider list and will be ordered as usual.