summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-02-17 16:56:09 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-02-17 16:56:09 +0000
commit7917a006101011d5ed2144e8aa8b8d26ba48be46 (patch)
treeeac206f8f494fae7e9b9bc6c752308d657002593 /java/sca/modules
parentf3e704f6b4dfc160076ba9ae1543b2814529cafe (diff)
Remove the use of tempuri.org
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745150 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
index 1be8937c2c..c88ecf52d5 100644
--- a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
+++ b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
@@ -102,6 +102,8 @@ import org.oasisopen.sca.ServiceRuntimeException;
*/
public class NodeImpl implements Node, Client {
+ private static final String SCA10_TUSCANY_NS = "http://tuscany.apache.org/xmlns/sca/1.0";
+
private static final Logger logger = Logger.getLogger(NodeImpl.class.getName());
// The node configuration name, used for logging
@@ -549,8 +551,8 @@ public class NodeImpl implements Node, Client {
// Create a top level composite to host our composite
// This is temporary to make the activator happy
Composite tempComposite = assemblyFactory.createComposite();
- tempComposite.setName(new QName("http://tempuri.org", "temp"));
- tempComposite.setURI("http://tempuri.org");
+ tempComposite.setName(new QName(SCA10_TUSCANY_NS, "_tempComposite"));
+ tempComposite.setURI(SCA10_TUSCANY_NS);
// Include the node composite in the top-level composite
tempComposite.getIncludes().add(composite);