cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [2/3] git commit: There is no "bus" parameter on AsyncHTTPCOnduitFactory
Date Wed, 16 Apr 2014 14:36:14 GMT
There is no "bus" parameter on AsyncHTTPCOnduitFactory


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/6fbd06f2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/6fbd06f2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/6fbd06f2

Branch: refs/heads/2.7.x-fixes
Commit: 6fbd06f2ad4f4efdb720bd4724fe42f577e2e19d
Parents: f82e754
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Apr 16 10:33:17 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Wed Apr 16 10:36:04 2014 -0400

----------------------------------------------------------------------
 .../transport/http/asyncclient/AsyncHTTPConduitFactory.java | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6fbd06f2/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
----------------------------------------------------------------------
diff --git a/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
b/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
index ba65b1b..e516e98 100644
--- a/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
+++ b/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduitFactory.java
@@ -24,8 +24,6 @@ import java.io.InterruptedIOException;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
 
-import javax.annotation.Resource;
-
 import org.apache.cxf.Bus;
 import org.apache.cxf.buslifecycle.BusLifeCycleListener;
 import org.apache.cxf.buslifecycle.BusLifeCycleManager;
@@ -85,7 +83,7 @@ import org.apache.http.protocol.RequestUserAgent;
 /**
  * 
  */
-@NoJSR250Annotations(unlessNull = "bus")
+@NoJSR250Annotations
 public class AsyncHTTPConduitFactory implements HTTPConduitFactory {
     
     //TCP related properties
@@ -279,11 +277,6 @@ public class AsyncHTTPConduitFactory implements HTTPConduitFactory {
         return new AsyncHTTPConduit(f.getBus(), localInfo, target, this);
     }
 
-    @Resource 
-    public void setBus(Bus b) {
-        addListener(b);
-    }
-
     public void shutdown() {
         if (ioReactor != null) {
             shutdown(ioReactor, connectionManager);


Mime
View raw message