summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-31 09:00:49 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-31 09:00:49 +0000
commit1c99135f8de49f5a67fa514fa589e1db9a0f3c44 (patch)
tree09859f099655efb86397c2b0fc5b7dab1746d24b
parent751dc940e51f8aa3606210b7f0e1d2dcaf93a62c (diff)
Remove reference to hidden NodeConfigurationImpl type that causes error due to invalid OSGi dependency
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@991126 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
index f7a439699e..3c34c5ce25 100644
--- a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
+++ b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
@@ -76,9 +76,10 @@ import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
import org.apache.tuscany.sca.node.configuration.BindingConfiguration;
import org.apache.tuscany.sca.node.configuration.ContributionConfiguration;
+import org.apache.tuscany.sca.node.configuration.DefaultNodeConfigurationFactory;
import org.apache.tuscany.sca.node.configuration.DeploymentComposite;
import org.apache.tuscany.sca.node.configuration.NodeConfiguration;
-import org.apache.tuscany.sca.node.configuration.impl.NodeConfigurationImpl;
+import org.apache.tuscany.sca.node.configuration.NodeConfigurationFactory;
import org.apache.tuscany.sca.runtime.DomainRegistryFactory;
import org.apache.tuscany.sca.runtime.EndpointReferenceBinder;
import org.apache.tuscany.sca.runtime.EndpointRegistry;
@@ -128,7 +129,8 @@ public class NodeFactoryImpl extends NodeFactory {
@SuppressWarnings("unchecked")
@Override
public Node createNode(List<?> contributions) {
- return new NodeImpl(this, new NodeConfigurationImpl(), new ArrayList<Contribution>((List<Contribution>)contributions));
+ NodeConfigurationFactory nodeConfigurationFactory = new DefaultNodeConfigurationFactory();
+ return new NodeImpl(this, nodeConfigurationFactory.createNodeConfiguration(), new ArrayList<Contribution>((List<Contribution>)contributions));
}
protected void addNode(NodeConfiguration configuration, Node node) {