cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r891439 - in /cxf/branches/2.2.x-fixes/rt: frontend/simple/src/test/java/org/apache/cxf/service/factory/AbstractSimpleFrontendTest.java transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java
Date Wed, 16 Dec 2009 21:48:08 GMT
Author: dkulp
Date: Wed Dec 16 21:48:08 2009
New Revision: 891439

URL: http://svn.apache.org/viewvc?rev=891439&view=rev
Log:
Fix build failure

Modified:
    cxf/branches/2.2.x-fixes/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/AbstractSimpleFrontendTest.java
    cxf/branches/2.2.x-fixes/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java

Modified: cxf/branches/2.2.x-fixes/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/AbstractSimpleFrontendTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/AbstractSimpleFrontendTest.java?rev=891439&r1=891438&r2=891439&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/AbstractSimpleFrontendTest.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/AbstractSimpleFrontendTest.java
Wed Dec 16 21:48:08 2009
@@ -48,7 +48,6 @@
         dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/", soapTF);
 
         LocalTransportFactory localTransport = new LocalTransportFactory();
-        localTransport.getUriPrefixes().add("http");
         dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
         dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
 

Modified: cxf/branches/2.2.x-fixes/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java?rev=891439&r1=891438&r2=891439&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/transports/local/src/main/java/org/apache/cxf/transport/local/LocalTransportFactory.java
Wed Dec 16 21:48:08 2009
@@ -60,10 +60,11 @@
     }
     
     private Map<String, Destination> destinations = new HashMap<String, Destination>();
+    private Bus bus;
 
     private Set<String> messageFilterProperties;
     private Set<String> messageIncludeProperties;
-    private Set<String> uriPrefixes = new HashSet<String>(URI_PREFIXES);
+    private Set<String> uriPrefixes = URI_PREFIXES;
     
     public LocalTransportFactory() {
         super();
@@ -84,9 +85,13 @@
     
     @Resource(name = "cxf")
     public void setBus(Bus b) {
-        super.setBus(b);
+        bus = b;
     }
 
+    public Bus getBus() {
+        return bus;
+    }
+    
     public Destination getDestination(EndpointInfo ei) throws IOException {
         return getDestination(ei, createReference(ei));
     }



Mime
View raw message