cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1535091 - /cxf/trunk/core/src/main/java/org/apache/cxf/message/ExchangeImpl.java
Date Wed, 23 Oct 2013 18:17:54 GMT
Author: dkulp
Date: Wed Oct 23 18:17:53 2013
New Revision: 1535091

URL: http://svn.apache.org/r1535091
Log:
Add a copy consructor

Modified:
    cxf/trunk/core/src/main/java/org/apache/cxf/message/ExchangeImpl.java

Modified: cxf/trunk/core/src/main/java/org/apache/cxf/message/ExchangeImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/message/ExchangeImpl.java?rev=1535091&r1=1535090&r2=1535091&view=diff
==============================================================================
--- cxf/trunk/core/src/main/java/org/apache/cxf/message/ExchangeImpl.java (original)
+++ cxf/trunk/core/src/main/java/org/apache/cxf/message/ExchangeImpl.java Wed Oct 23 18:17:53
2013
@@ -49,7 +49,25 @@ public class ExchangeImpl extends String
     private Service service;
     private Binding binding;
     private BindingOperationInfo bindingOp;
-    
+
+    public ExchangeImpl() {
+    }
+    public ExchangeImpl(ExchangeImpl ex) {
+        super(ex);
+        this.destination = ex.destination;
+        this.oneWay = ex.oneWay;
+        this.synchronous = ex.synchronous;
+        this.inMessage = ex.inMessage;
+        this.outMessage = ex.outMessage;
+        this.inFaultMessage = ex.inFaultMessage;
+        this.outFaultMessage = ex.outFaultMessage;
+        this.session = ex.session;
+        this.bus = ex.bus;
+        this.endpoint = ex.endpoint;
+        this.service = ex.service;
+        this.binding = ex.binding;
+        this.bindingOp = ex.bindingOp;
+    }
 
     /*
     public <T> T get(Class<T> key) { 



Mime
View raw message