From 24e47ab8a07550ee60a45a529fed60f4d96f2b03 Mon Sep 17 00:00:00 2001 From: rfeng Date: Thu, 5 Mar 2009 05:52:01 +0000 Subject: More changes to switch SCA namespace from osoa version to oasis one git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@750323 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/core/assembly/impl/ReferenceParameterProcessor.java | 2 +- .../org/apache/tuscany/sca/core/context/impl/CompositeContextImpl.java | 2 +- .../org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'java/sca/modules/core/src') diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/ReferenceParameterProcessor.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/ReferenceParameterProcessor.java index 213f1d8afa..2c833a885e 100644 --- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/ReferenceParameterProcessor.java +++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/ReferenceParameterProcessor.java @@ -40,7 +40,7 @@ import org.apache.tuscany.sca.runtime.ReferenceParameters; */ public class ReferenceParameterProcessor implements StAXArtifactProcessor { private static final QName REFERENCE_PARAMETERS = - new QName("http://tuscany.apache.org/xmlns/sca/1.0", "referenceParameters", "tuscany"); + new QName("http://tuscany.apache.org/xmlns/sca/1.1", "referenceParameters", "tuscany"); /** * Constructs a new processor. diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/CompositeContextImpl.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/CompositeContextImpl.java index 06a667f951..72789b72a1 100644 --- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/CompositeContextImpl.java +++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/CompositeContextImpl.java @@ -212,7 +212,7 @@ public class CompositeContextImpl extends CompositeContext { try { StAXArtifactProcessor processor = staxProcessors.getProcessor(Composite.class); Composite composite = assemblyFactory.createComposite(); - composite.setName(new QName("http://tuscany.apache.org/xmlns/sca/1.0", "default")); + composite.setName(new QName("http://tuscany.apache.org/xmlns/sca/1.1", "default")); Component comp = assemblyFactory.createComponent(); comp.setName("default"); comp.setURI(component.getURI()); diff --git a/java/sca/modules/core/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor b/java/sca/modules/core/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor index 5fc42915cb..97a1d70d49 100644 --- a/java/sca/modules/core/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor +++ b/java/sca/modules/core/src/main/resources/META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor @@ -16,4 +16,4 @@ # under the License. # Implementation class for the artifact processor extension -org.apache.tuscany.sca.core.assembly.impl.ReferenceParameterProcessor;qname=http://tuscany.apache.org/xmlns/sca/1.0#referenceParameters,model=org.apache.tuscany.sca.runtime.ReferenceParameters +org.apache.tuscany.sca.core.assembly.impl.ReferenceParameterProcessor;qname=http://tuscany.apache.org/xmlns/sca/1.1#referenceParameters,model=org.apache.tuscany.sca.runtime.ReferenceParameters -- cgit v1.2.3