cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: [CXF-7416] Switch to using thread safe collections for the RM types since we send them directly into the marshal routines
Date Tue, 20 Jun 2017 18:17:30 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 01933b8ae -> 88d03f562


[CXF-7416] Switch to using thread safe collections for the RM types since we send them directly
into the marshal routines


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

Branch: refs/heads/master
Commit: 88d03f562405f0b1bbdb16b336810074b853db86
Parents: 01933b8
Author: Daniel Kulp <dkulp@apache.org>
Authored: Tue Jun 20 13:55:36 2017 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Jun 20 13:55:36 2017 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java | 2 +-
 rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0-wsa15.xjb     | 3 ++-
 rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0.xjb           | 5 +++--
 rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.1.xjb           | 3 ++-
 4 files changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/88d03f56/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
index 19f43d8..87b07a2 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
@@ -164,7 +164,7 @@ public class RMCaptureOutInterceptor extends AbstractRMInterceptor<Message>
 {
                     seq = getManager().getSequence(inSeqId, msg, maps);
                 }
                 assert null != seq;
-
+                
                 // increase message number and store a sequence type object in
                 // context
                 seq.nextMessageNumber(inSeqId, inMessageNumber, isLastMessage);

http://git-wip-us.apache.org/repos/asf/cxf/blob/88d03f56/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0-wsa15.xjb
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0-wsa15.xjb b/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0-wsa15.xjb
index b355d5a..ea1d8a7 100644
--- a/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0-wsa15.xjb
+++ b/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0-wsa15.xjb
@@ -22,6 +22,7 @@
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
   xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
   jaxb:extensionBindingPrefixes="xjc">
+
     <jaxb:bindings schemaLocation="http://www.w3.org/2006/03/addressing/ws-addr.xsd" node="/xs:schema">
         <jaxb:schemaBindings>
             <jaxb:package name="org.apache.cxf.ws.addressing"/>
@@ -31,7 +32,7 @@
         <jaxb:schemaBindings>
             <jaxb:package name="org.apache.cxf.ws.rm.v200502wsa15"/>
         </jaxb:schemaBindings>
-        <jaxb:globalBindings generateIsSetMethod="true"/>
+        <jaxb:globalBindings generateIsSetMethod="true" collectionType="java.util.concurrent.CopyOnWriteArrayList"/>
     </jaxb:bindings>
     <jaxb:bindings schemaLocation="wsrm-1.0-wsa15.xsd" node="//xs:element[@name='Nack']">
         <jaxb:property>

http://git-wip-us.apache.org/repos/asf/cxf/blob/88d03f56/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0.xjb
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0.xjb b/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0.xjb
index 5be34d4..09ccd17 100644
--- a/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0.xjb
+++ b/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.0.xjb
@@ -22,7 +22,8 @@
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
   xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
   jaxb:extensionBindingPrefixes="xjc">
-    <jaxb:bindings schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/addressing" node="/xs:schema">
    
+  
+    <jaxb:bindings schemaLocation="http://schemas.xmlsoap.org/ws/2004/08/addressing" node="/xs:schema">
         <jaxb:schemaBindings>
             <jaxb:package name="org.apache.cxf.ws.addressing.v200408"/>
         </jaxb:schemaBindings>
@@ -31,7 +32,7 @@
         <jaxb:schemaBindings>
             <jaxb:package name="org.apache.cxf.ws.rm.v200502"/>
         </jaxb:schemaBindings>
-        <jaxb:globalBindings generateIsSetMethod="true"/>
+        <jaxb:globalBindings generateIsSetMethod="true" collectionType="java.util.concurrent.CopyOnWriteArrayList"/>
     </jaxb:bindings>
     <jaxb:bindings schemaLocation="wsrm-1.0.xsd" node="//xs:element[@name='Nack']">
         <jaxb:property>

http://git-wip-us.apache.org/repos/asf/cxf/blob/88d03f56/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.1.xjb
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.1.xjb b/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.1.xjb
index 8e5858a..4ba7041 100644
--- a/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.1.xjb
+++ b/rt/ws/rm/src/main/resources/schemas/wsdl/wsrm-1.1.xjb
@@ -22,6 +22,7 @@
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
   xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
   jaxb:extensionBindingPrefixes="xjc">
+  
     <jaxb:bindings schemaLocation="http://www.w3.org/2006/03/addressing/ws-addr.xsd" node="/xs:schema">
         <jaxb:schemaBindings>
             <jaxb:package name="org.apache.cxf.ws.addressing"/>
@@ -31,7 +32,7 @@
         <jaxb:schemaBindings>
             <jaxb:package name="org.apache.cxf.ws.rm.v200702"/>
         </jaxb:schemaBindings>
-        <jaxb:globalBindings generateIsSetMethod="true"/>
+        <jaxb:globalBindings generateIsSetMethod="true" collectionType="java.util.concurrent.CopyOnWriteArrayList"/>
     </jaxb:bindings>
     <jaxb:bindings schemaLocation="wsrm-1.1.xsd" node="//xs:element[@name='Nack']">
         <jaxb:property>


Mime
View raw message