You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2012/09/11 23:10:06 UTC
svn commit: r1383612 - in
/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http:
HTTPConduitFactory.java HTTPTransportFactory.java
Author: dkulp
Date: Tue Sep 11 21:10:05 2012
New Revision: 1383612
URL: http://svn.apache.org/viewvc?rev=1383612&view=rev
Log:
Pull interface out into it's own file due to issus using internal interfaces as an OSGi service registration type
Added:
cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitFactory.java
Modified:
cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPTransportFactory.java
Added: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitFactory.java?rev=1383612&view=auto
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitFactory.java (added)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitFactory.java Tue Sep 11 21:10:05 2012
@@ -0,0 +1,36 @@
+/**
+ * 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.
+ */
+package org.apache.cxf.transport.http;
+
+import java.io.IOException;
+
+import org.apache.cxf.service.model.EndpointInfo;
+import org.apache.cxf.ws.addressing.EndpointReferenceType;
+
+
+/**
+ * Factory to actually create the HTTPConduit that will be used for the exchange
+ */
+public interface HTTPConduitFactory {
+
+
+ HTTPConduit createConduit(HTTPTransportFactory f,
+ EndpointInfo localInfo,
+ EndpointReferenceType target) throws IOException;
+}
\ No newline at end of file
Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPTransportFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPTransportFactory.java?rev=1383612&r1=1383611&r2=1383612&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPTransportFactory.java (original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPTransportFactory.java Tue Sep 11 21:10:05 2012
@@ -63,13 +63,6 @@ public class HTTPTransportFactory
implements WSDLEndpointFactory, ConduitInitiator, DestinationFactory {
- public interface HTTPConduitFactory {
- HTTPConduit createConduit(HTTPTransportFactory f,
- EndpointInfo localInfo,
- EndpointReferenceType target) throws IOException;
- }
-
-
public static final List<String> DEFAULT_NAMESPACES
= Arrays.asList(
"http://cxf.apache.org/transports/http",