[
https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau updated TOMEE-376:
-------------------------------------
Description:
Sample of configuratoin:
<resources>
<Service class-name="org.apache.openejb.server.cxf.rs.AService">
cxf.jaxrs.providers = reverse
</Service>
<Service class-name="org.apache.openejb.server.cxf.rs.AProvider" id="reverse"
/>
</resources>
The service (there is a 1:1 relationship between class-name of the service
representing the bean and the impl class) has the following properties:
* cxf.jaxrs.providers
* cxf.jaxrs.features
* cxf.jaxrs.in-interceptors
* cxf.jaxrs.in-fault-interceptors
* cxf.jaxrs.out-interceptors
* cxf.jaxrs.out-fault-interceptors
* cxf.jaxrs.databinding
* cxf.jaxrs.address
* cxf.jaxrs.properties
For jaxws the same properties can be used (execption providers one) replacing
jaxrs by jaxws.
The value is for properties anotther service id.
For databinding it is a service id too where the class-name is the databinding
impl name.
For lists (interceptors, providers, features) it is a list (comma separated) of
service id.
Note: in referenced service id you can use properties. If the property value
starts with & it will try to resolve a bean in services.
was:
properties are read in openejb-jar for ejb and system properties for pojo.
it needs to define the property: openejb.jaxws.cxf.features to the list of
feature (qualified name comma separated)
then specific config can be set using openejb.jaxws.cxf.features.<qualified
name of the feature impl>.<property> = <value>
Note: for pojo prefix the previous keys by the qualified name of the service
impl
sample:
org.superbiz.MyPojo.openejb.jaxws.cxf.features=org.apache.cxf.feature.LoggingFeature
> ability to configure cxf feature for jaxws/jaxrs endpoints
> ----------------------------------------------------------
>
> Key: TOMEE-376
> URL: https://issues.apache.org/jira/browse/TOMEE-376
> Project: TomEE
> Issue Type: New Feature
> Reporter: Romain Manni-Bucau
> Fix For: 1.1.0
>
>
> Sample of configuratoin:
> <resources>
> <Service class-name="org.apache.openejb.server.cxf.rs.AService">
> cxf.jaxrs.providers = reverse
> </Service>
> <Service class-name="org.apache.openejb.server.cxf.rs.AProvider"
> id="reverse" />
> </resources>
> The service (there is a 1:1 relationship between class-name of the service
> representing the bean and the impl class) has the following properties:
> * cxf.jaxrs.providers
> * cxf.jaxrs.features
> * cxf.jaxrs.in-interceptors
> * cxf.jaxrs.in-fault-interceptors
> * cxf.jaxrs.out-interceptors
> * cxf.jaxrs.out-fault-interceptors
> * cxf.jaxrs.databinding
> * cxf.jaxrs.address
> * cxf.jaxrs.properties
> For jaxws the same properties can be used (execption providers one) replacing
> jaxrs by jaxws.
> The value is for properties anotther service id.
> For databinding it is a service id too where the class-name is the
> databinding impl name.
> For lists (interceptors, providers, features) it is a list (comma separated)
> of service id.
> Note: in referenced service id you can use properties. If the property value
> starts with & it will try to resolve a bean in services.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira