cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1560119 - /cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyFeatureBPDefinitionParser.java
Date Tue, 21 Jan 2014 18:08:40 GMT
Author: ay
Date: Tue Jan 21 18:08:40 2014
New Revision: 1560119

URL: http://svn.apache.org/r1560119
Log:
[CXF-5507] Missing alternativeSelector handling in ws-policy feature's blueprint configuration

Modified:
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyFeatureBPDefinitionParser.java

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyFeatureBPDefinitionParser.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyFeatureBPDefinitionParser.java?rev=1560119&r1=1560118&r2=1560119&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyFeatureBPDefinitionParser.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyFeatureBPDefinitionParser.java
Tue Jan 21 18:08:40 2014
@@ -61,6 +61,13 @@ public class PolicyFeatureBPDefinitionPa
         return cxfBean;
     }
 
+    @Override
+    protected void mapElement(ParserContext ctx, MutableBeanMetadata bean, Element el, String
name) {
+        if ("alternativeSelector".equals(name)) {
+            setFirstChildAsProperty(el, ctx, bean, name);
+        }
+    }
+
     public static Metadata createElement(ParserContext context, Element value) {
         MutablePassThroughMetadata anElement = context.createMetadata(MutablePassThroughMetadata.class);
         anElement.setObject(value);



Mime
View raw message