You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2015/01/13 06:52:56 UTC

[2/3] cxf git commit: CXF-6192 Fixed the issue of CXF blueprint clustering

CXF-6192 Fixed the issue of CXF blueprint clustering


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

Branch: refs/heads/3.0.x-fixes
Commit: 67ec8299eea8956a6b2cf09ef64b6810a7af83b0
Parents: 088c68f
Author: Willem Jiang <wi...@gmail.com>
Authored: Tue Jan 13 13:50:20 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue Jan 13 13:51:19 2015 +0800

----------------------------------------------------------------------
 .../blueprint/ClusteringBPNamespaceHandler.java           | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/67ec8299/rt/features/clustering/src/main/java/org/apache/cxf/clustering/blueprint/ClusteringBPNamespaceHandler.java
----------------------------------------------------------------------
diff --git a/rt/features/clustering/src/main/java/org/apache/cxf/clustering/blueprint/ClusteringBPNamespaceHandler.java b/rt/features/clustering/src/main/java/org/apache/cxf/clustering/blueprint/ClusteringBPNamespaceHandler.java
index 8e67e51..a98aa9e 100644
--- a/rt/features/clustering/src/main/java/org/apache/cxf/clustering/blueprint/ClusteringBPNamespaceHandler.java
+++ b/rt/features/clustering/src/main/java/org/apache/cxf/clustering/blueprint/ClusteringBPNamespaceHandler.java
@@ -27,7 +27,7 @@ import org.w3c.dom.Node;
 import org.apache.aries.blueprint.NamespaceHandler;
 import org.apache.aries.blueprint.ParserContext;
 import org.apache.cxf.clustering.FailoverFeature;
-import org.apache.cxf.clustering.LoadDistributorTargetSelector;
+import org.apache.cxf.clustering.LoadDistributorFeature;
 import org.apache.cxf.configuration.blueprint.SimpleBPBeanDefinitionParser;
 import org.osgi.service.blueprint.reflect.ComponentMetadata;
 import org.osgi.service.blueprint.reflect.Metadata;
@@ -36,22 +36,22 @@ public class ClusteringBPNamespaceHandler implements NamespaceHandler {
     public ComponentMetadata decorate(Node node, ComponentMetadata component, ParserContext context) {
         return null;
     }
-    
+
     public Metadata parse(Element element, ParserContext context) {
         String s = element.getLocalName();
         if ("failover".equals(s)) {
             return new SimpleBPBeanDefinitionParser(FailoverFeature.class).parse(element, context);
         } else if ("loadDistributor".equals(s)) {
-            return new SimpleBPBeanDefinitionParser(LoadDistributorTargetSelector.class).parse(element, context);
+            return new SimpleBPBeanDefinitionParser(LoadDistributorFeature.class).parse(element, context);
         }
         return null;
     }
-    
+
     @SuppressWarnings("rawtypes")
     public Set<Class> getManagedClasses() {
         return null;
     }
-    
+
     public URL getSchemaLocation(String namespace) {
         return getClass().getClassLoader().getResource("schemas/clustering.xsd");
     }