cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1505626 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/blueprint/HttpDestinationBPBeanDefinitionParser.java
Date Mon, 22 Jul 2013 08:33:36 GMT
Author: ffang
Date: Mon Jul 22 08:33:35 2013
New Revision: 1505626

URL: http://svn.apache.org/r1505626
Log:
[CXF-5143]http-conf:server blueprint configuration doesn't work

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/blueprint/HttpDestinationBPBeanDefinitionParser.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/blueprint/HttpDestinationBPBeanDefinitionParser.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/blueprint/HttpDestinationBPBeanDefinitionParser.java?rev=1505626&r1=1505625&r2=1505626&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/blueprint/HttpDestinationBPBeanDefinitionParser.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/blueprint/HttpDestinationBPBeanDefinitionParser.java
Mon Jul 22 08:33:35 2013
@@ -27,6 +27,7 @@ import org.apache.aries.blueprint.Parser
 import org.apache.aries.blueprint.mutable.MutableBeanMetadata;
 import org.apache.cxf.configuration.blueprint.AbstractBPBeanDefinitionParser;
 import org.apache.cxf.transport.http.AbstractHTTPDestination;
+import org.apache.cxf.transports.http.configuration.HTTPServerPolicy;
 import org.osgi.service.blueprint.reflect.Metadata;
 
 public class HttpDestinationBPBeanDefinitionParser extends AbstractBPBeanDefinitionParser
{
@@ -39,11 +40,11 @@ public class HttpDestinationBPBeanDefini
         bean.setRuntimeClass(AbstractHTTPDestination.class);
 
         mapElementToJaxbProperty(context, bean, element,
-                new QName(HTTP_NS, "server"), "server", null);
+                new QName(HTTP_NS, "server"), "server", HTTPServerPolicy.class);
         mapElementToJaxbProperty(context, bean, element,
-                new QName(HTTP_NS, "fixedParameterOrder"), "fixedParameterOrder", null);

+                new QName(HTTP_NS, "fixedParameterOrder"), "fixedParameterOrder", Boolean.class);

         mapElementToJaxbProperty(context, bean, element,
-                new QName(HTTP_NS, "contextMatchStrategy"), "contextMatchStrategy", null);
+                new QName(HTTP_NS, "contextMatchStrategy"), "contextMatchStrategy", String.class);
         
         parseAttributes(element, context, bean);
         parseChildElements(element, context, bean);



Mime
View raw message