cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1384027 - in /cxf/trunk/rt/transports/http-hc/src/main: java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java resources/OSGI-INF/metatype/ resources/OSGI-INF/metatype/cxf-http-async.xml
Date Wed, 12 Sep 2012 16:35:07 GMT
Author: dkulp
Date: Wed Sep 12 16:35:07 2012
New Revision: 1384027

URL: http://svn.apache.org/viewvc?rev=1384027&view=rev
Log:
Add some meta information about the properties so it appears in the webconsole

Added:
    cxf/trunk/rt/transports/http-hc/src/main/resources/OSGI-INF/metatype/
    cxf/trunk/rt/transports/http-hc/src/main/resources/OSGI-INF/metatype/cxf-http-async.xml
Modified:
    cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java

Modified: cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java?rev=1384027&r1=1384026&r2=1384027&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
(original)
+++ cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
Wed Sep 12 16:35:07 2012
@@ -95,6 +95,7 @@ public class AsyncHTTPConduitFactory imp
     
     public AsyncHTTPConduitFactory(Map<String, Object> conf) {
         super();
+        System.out.println(conf);
         config.setTcpNoDelay(true);
         setProperties(conf);
     }

Added: cxf/trunk/rt/transports/http-hc/src/main/resources/OSGI-INF/metatype/cxf-http-async.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-hc/src/main/resources/OSGI-INF/metatype/cxf-http-async.xml?rev=1384027&view=auto
==============================================================================
--- cxf/trunk/rt/transports/http-hc/src/main/resources/OSGI-INF/metatype/cxf-http-async.xml
(added)
+++ cxf/trunk/rt/transports/http-hc/src/main/resources/OSGI-INF/metatype/cxf-http-async.xml
Wed Sep 12 16:35:07 2012
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0">
+    <OCD
+        description="CXF HTTP Async Transport"
+        name="CXF HTTP Async Transport" id="org.apache.cxf.transport.http.async">
+        
+        <AD name="InterestOpQueued" 
+            id="org.apache.cxf.transport.http.async.interestOpQueued"
+            type="Boolean" 
+            default="false" 
+            description="" />
+        <AD name="ioThreadCount" 
+            id="org.apache.cxf.transport.http.async.ioThreadCount"
+            type="Integer" 
+            default="-1" 
+            description="" /> 
+        <AD name="Selection Interval" 
+            id="org.apache.cxf.transport.http.async.selectInterval"
+            type="String" 
+            default="1000" 
+            description="" /> 
+        <AD name="TCP_NODELAY" 
+            id="org.apache.cxf.transport.http.async.TCP_NODELAY"
+            type="Boolean" 
+            default="true" 
+            description="" /> 
+        <AD name="SO_KEEPALIVE" 
+            id="org.apache.cxf.transport.http.async.SO_KEEPALIVE"
+            type="Boolean" 
+            default="false" 
+            description="" /> 
+        <AD name="SO_LINGER" 
+            id="org.apache.cxf.transport.http.async.SO_LINGER"
+            type="Integer" 
+            default="-1" 
+            description="" /> 
+        <AD name="SO_TIMEOUT" 
+            id="org.apache.cxf.transport.http.async.SO_TIMEOUT"
+            type="Integer" 
+            default="0" 
+            description="" /> 
+        <AD name="" 
+            id="org.apache.cxf.transport.http.async.usePolicy"
+            type="String" 
+            default="ASYNC_ONLY" 
+            description="" /> 
+    </OCD>
+    <Designate pid="org.apache.cxf.transport.http.async">
+        <Object ocdref="org.apache.cxf.transport.http.async" />
+    </Designate>
+</metatype:MetaData>



Mime
View raw message