cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Created] (DOSGI-148) Refactoring of dsw ConfigTypeHandlers
Date Wed, 28 Nov 2012 12:23:02 GMT
Christian Schneider created DOSGI-148:

             Summary: Refactoring of dsw ConfigTypeHandlers
                 Key: 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

The Hierarchy of ConfigTypeHandlers is currently a bit confusing. 
There are:
- PojoConfigurationTypeHandler : For SOAP with Simple and JAXWS binding but without HTTP context
- 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

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:

View raw message