You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2013/05/24 16:34:50 UTC

[jira] [Closed] (DOSGI-148) Refactoring of dsw ConfigTypeHandlers

     [ https://issues.apache.org/jira/browse/DOSGI-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider closed DOSGI-148.
-------------------------------------

    
> Refactoring of dsw ConfigTypeHandlers
> -------------------------------------
>
>                 Key: DOSGI-148
>                 URL: https://issues.apache.org/jira/browse/DOSGI-148
>             Project: CXF Distributed OSGi
>          Issue Type: Improvement
>          Components: DSW
>    Affects Versions: 1.3.1
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 1.4.0
>
>
> The Hierarchy of ConfigTypeHandlers is currently a bit confusing. 
> There are:
> - PojoConfigurationTypeHandler : For SOAP with Simple and JAXWS binding but without HTTP context support
> - JaxRSPojoConfigurationTypeHandler : For JAXRS but without HTTP context support
> - WsdlConfigurationTypeHandler: For WSDL first SOAP. Supports HTTP context
> - JaxRSHttpServiceConfigurationTypeHandler: For JAXRS. Supports HTTP context
> - HttpServiceConfigurationTypeHandler: For SOAP with Simple and JAXWS binding with HTTP context support
> I propose to factor out the HTTP context handling to a new class HTTPServiceManager. That only registers and unregisters the servlet and context.
> So the ConfigTypeHandlers will just be:
> - PojoConfigurationTypeHandler : For SOAP with Simple and JAXWS binding
> - JaxRSPojoConfigurationTypeHandler : For JAXRS
> - WsdlConfigurationTypeHandler: For WSDL first SOAP
> All handlers will delegate to the HTTPServiceManager if a context is configured.
> This should also remove some code duplications.

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