cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1173835 - in /cxf/branches/2.4.x-fixes: ./ rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformInInterceptor.java
Date Wed, 21 Sep 2011 20:32:47 GMT
Author: sergeyb
Date: Wed Sep 21 20:32:47 2011
New Revision: 1173835

URL: http://svn.apache.org/viewvc?rev=1173835&view=rev
Log:
Merged revisions 1173831 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1173831 | sergeyb | 2011-09-21 21:27:34 +0100 (Wed, 21 Sep 2011) | 1 line
  
  Adding few TransformInInterceptor helper constructors
........

Modified:
    cxf/branches/2.4.x-fixes/   (props changed)
    cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformInInterceptor.java

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
    svn:mergeinfo = /cxf/trunk:1173831

Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformInInterceptor.java?rev=1173835&r1=1173834&r2=1173835&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformInInterceptor.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformInInterceptor.java
Wed Sep 21 20:32:47 2011
@@ -47,11 +47,25 @@ public class TransformInInterceptor exte
     
     public TransformInInterceptor() {
         this(Phase.POST_STREAM);
+        addBefore(StaxInInterceptor.class.getName());
     }
     
     public TransformInInterceptor(String phase) {
         super(phase);
-        addBefore(StaxInInterceptor.class.getName());
+    }
+    
+    public TransformInInterceptor(String phase, List<String> after) {
+        super(phase);
+        if (after != null) {
+            addAfter(after);
+        }
+    }
+    
+    public TransformInInterceptor(String phase, List<String> before, List<String>
after) {
+        this(phase, after);
+        if (before != null) {
+            addBefore(before);
+        }
     }
     
     public void handleMessage(Message message) {



Mime
View raw message