diff options
Diffstat (limited to 'sca-java-2.x')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java index 89bbcce978..36f49416f1 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/NodeFactory.java @@ -44,8 +44,8 @@ public class NodeFactory { private ExtensibleDomainRegistryFactory domainRegistryFactory; // TODO: keep this method? - public static Node createSection10() { - return new NodeFactory().createSection10("default"); + public static Node createNode() { + return new NodeFactory().createNode("default"); } public NodeFactory() { @@ -56,7 +56,7 @@ public class NodeFactory { init(config); } - public Node createSection10(String domainName) { + public Node createNode(String domainName) { EndpointRegistry endpointRegistry = domainRegistryFactory.getEndpointRegistry("default", domainName); return new NodeImpl(domainName, deployer, compositeActivator, endpointRegistry, extensionPointRegistry); } |