You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2012/08/15 23:45:37 UTC

[jira] [Created] (TOMEE-376) ability to configure cxf feature for jaxws endpoints

Romain Manni-Bucau created TOMEE-376:
----------------------------------------

             Summary: ability to configure cxf feature for jaxws 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


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


--
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

        

[jira] [Updated] (TOMEE-376) ability to configure cxf feature for jaxws/jaxrs endpoints

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau updated TOMEE-376:
-------------------------------------

    Comment: was deleted

(was: for jax rs that's the same than for pojo jaxws replacing jaxws by jaxrs in property names)
    
> 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

        

[jira] [Closed] (TOMEE-376) ability to configure cxf feature for jaxws/jaxrs endpoints

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau closed TOMEE-376.
------------------------------------

    Resolution: Fixed
    
> 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

        

[jira] [Updated] (TOMEE-376) ability to configure in a more consistent manner the container (cxf feature for jaxws/jaxrs endpoints managed this way)

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO updated TOMEE-376:
--------------------------------------

    Fix Version/s:     (was: 1.5.0)
                   1.5.1
    
> ability to configure in a more consistent manner the container (cxf feature for jaxws/jaxrs endpoints managed this way)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: TOMEE-376
>                 URL: https://issues.apache.org/jira/browse/TOMEE-376
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: Romain Manni-Bucau
>             Fix For: 1.5.1
>
>
> Sample of configuratoin:
> <AppContext>
>   <Configuration>
>     <AsynchronousPool>
>      CorePoolSize = 10
>      MaximumPoolSize = 10
>     </AsynchronousPool>
>     <AnyPropertyPrefix>
>      someproperty = foo
>     </AnyPropertyPrefix>
>     <org.quartz>
>      scheduler.instanceName = my-app
>      scheduler.instanceId = my-bean
>      threadPool.threadCount = 10
>      threadPool.class = org.superbiz.MyCustomThreadPool
>      plugin.LogPlugin.class = org.superbiz.MyLogPlugin
>      plugin.LogPlugin.active = true
>     </org.quartz>
>   </Configuration>
>   <BeanContexts>
>     <BeanContext id="CalculatorBean">
>       <Configuration>
>         <cxf.jaxws>
>           in-interceptors = wss4j
>         </cxf.jaxws>
>       </Configuration>
>     </BeanContext>
>   </BeanContexts>
>   <Pojos>
>     <Pojo id="org.foo.bar">
>       <Configuration>
>         <cxf.jaxws>
>           in-interceptors = wss4j
>         </cxf.jaxws>
>       </Configuration>
>     </Pojo>
>   </Pojos>
>   <Resources>
>     <Service id="wss4j" class-name="org.apache.openejb.server.cxf.config.WSS4JInInterceptorFactory" factory-name="create">
>       action = UsernameToken
>       passwordType = PasswordText
>       passwordCallbackClass = org.superbiz.ws.security.PasswordCallbackHandler
>     </Service>
>     <Service .../>
>     <Resource .../>
>   </Resources>
> <AppContext>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (TOMEE-376) ability to configure cxf feature for jaxws/jaxrs endpoints

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau closed TOMEE-376.
------------------------------------

    Resolution: Fixed

for jax rs that's the same than for pojo jaxws replacing jaxws by jaxrs in property names
                
> 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
>
>
> 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

--
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

        

[jira] [Reopened] (TOMEE-376) ability to configure cxf feature for jaxws/jaxrs endpoints

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau reopened TOMEE-376:
--------------------------------------

    
> 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
>
>
> 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

--
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

        

[jira] [Updated] (TOMEE-376) ability to configure cxf feature for jaxws/jaxrs endpoints

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (TOMEE-376) ability to configure cxf feature for jaxws/jaxrs endpoints

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau updated TOMEE-376:
-------------------------------------

    Summary: ability to configure cxf feature for jaxws/jaxrs endpoints  (was: ability to configure cxf feature for jaxws endpoints)
    
> 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
>
>
> 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

--
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

        

[jira] [Closed] (TOMEE-376) ability to configure in a more consistent manner the container (cxf feature for jaxws/jaxrs endpoints managed this way)

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau closed TOMEE-376.
------------------------------------

    Resolution: Fixed
    
> ability to configure in a more consistent manner the container (cxf feature for jaxws/jaxrs endpoints managed this way)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 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:
> <AppContext>
>   <Configuration>
>     <AsynchronousPool>
>      CorePoolSize = 10
>      MaximumPoolSize = 10
>     </AsynchronousPool>
>     <AnyPropertyPrefix>
>      someproperty = foo
>     </AnyPropertyPrefix>
>     <org.quartz>
>      scheduler.instanceName = my-app
>      scheduler.instanceId = my-bean
>      threadPool.threadCount = 10
>      threadPool.class = org.superbiz.MyCustomThreadPool
>      plugin.LogPlugin.class = org.superbiz.MyLogPlugin
>      plugin.LogPlugin.active = true
>     </org.quartz>
>   </Configuration>
>   <BeanContexts>
>     <BeanContext id="CalculatorBean">
>       <Configuration>
>         <cxf.jaxws>
>           in-interceptors = wss4j
>         </cxf.jaxws>
>       </Configuration>
>     </BeanContext>
>   </BeanContexts>
>   <Pojos>
>     <Pojo id="org.foo.bar">
>       <Configuration>
>         <cxf.jaxws>
>           in-interceptors = wss4j
>         </cxf.jaxws>
>       </Configuration>
>     </Pojo>
>   </Pojos>
>   <Resources>
>     <Service id="wss4j" class-name="org.apache.openejb.server.cxf.config.WSS4JInInterceptorFactory" factory-name="create">
>       action = UsernameToken
>       passwordType = PasswordText
>       passwordCallbackClass = org.superbiz.ws.security.PasswordCallbackHandler
>     </Service>
>     <Service .../>
>     <Resource .../>
>   </Resources>
> <AppContext>
> 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

        

[jira] [Updated] (TOMEE-376) ability to configure in a more consistent manner the container (cxf feature for jaxws/jaxrs endpoints managed this way)

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ 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:

<AppContext>
  <Configuration>
    <AsynchronousPool>
     CorePoolSize = 10
     MaximumPoolSize = 10
    </AsynchronousPool>
    <AnyPropertyPrefix>
     someproperty = foo
    </AnyPropertyPrefix>
    <org.quartz>
     scheduler.instanceName = my-app
     scheduler.instanceId = my-bean
     threadPool.threadCount = 10
     threadPool.class = org.superbiz.MyCustomThreadPool
     plugin.LogPlugin.class = org.superbiz.MyLogPlugin
     plugin.LogPlugin.active = true
    </org.quartz>
  </Configuration>
  <BeanContexts>
    <BeanContext id="CalculatorBean">
      <Configuration>
        <cxf.jaxws>
          in-interceptors = wss4j
        </cxf.jaxws>
      </Configuration>
    </BeanContext>
  </BeanContexts>
  <Pojos>
    <Pojo id="org.foo.bar">
      <Configuration>
        <cxf.jaxws>
          in-interceptors = wss4j
        </cxf.jaxws>
      </Configuration>
    </Pojo>
  </Pojos>
  <Resources>
    <Service id="wss4j" class-name="org.apache.openejb.server.cxf.config.WSS4JInInterceptorFactory" factory-name="create">
      action = UsernameToken
      passwordType = PasswordText
      passwordCallbackClass = org.superbiz.ws.security.PasswordCallbackHandler
    </Service>
    <Service .../>
    <Resource .../>
  </Resources>
<AppContext>

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:
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.

        Summary: ability to configure in a more consistent manner the container (cxf feature for jaxws/jaxrs endpoints managed this way)  (was: ability to configure cxf feature for jaxws/jaxrs endpoints)
    
> ability to configure in a more consistent manner the container (cxf feature for jaxws/jaxrs endpoints managed this way)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 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:
> <AppContext>
>   <Configuration>
>     <AsynchronousPool>
>      CorePoolSize = 10
>      MaximumPoolSize = 10
>     </AsynchronousPool>
>     <AnyPropertyPrefix>
>      someproperty = foo
>     </AnyPropertyPrefix>
>     <org.quartz>
>      scheduler.instanceName = my-app
>      scheduler.instanceId = my-bean
>      threadPool.threadCount = 10
>      threadPool.class = org.superbiz.MyCustomThreadPool
>      plugin.LogPlugin.class = org.superbiz.MyLogPlugin
>      plugin.LogPlugin.active = true
>     </org.quartz>
>   </Configuration>
>   <BeanContexts>
>     <BeanContext id="CalculatorBean">
>       <Configuration>
>         <cxf.jaxws>
>           in-interceptors = wss4j
>         </cxf.jaxws>
>       </Configuration>
>     </BeanContext>
>   </BeanContexts>
>   <Pojos>
>     <Pojo id="org.foo.bar">
>       <Configuration>
>         <cxf.jaxws>
>           in-interceptors = wss4j
>         </cxf.jaxws>
>       </Configuration>
>     </Pojo>
>   </Pojos>
>   <Resources>
>     <Service id="wss4j" class-name="org.apache.openejb.server.cxf.config.WSS4JInInterceptorFactory" factory-name="create">
>       action = UsernameToken
>       passwordType = PasswordText
>       passwordCallbackClass = org.superbiz.ws.security.PasswordCallbackHandler
>     </Service>
>     <Service .../>
>     <Resource .../>
>   </Resources>
> <AppContext>
> 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

        

[jira] [Reopened] (TOMEE-376) ability to configure cxf feature for jaxws/jaxrs endpoints

Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau reopened TOMEE-376:
--------------------------------------

    
> 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