summaryrefslogtreecommitdiffstats
path: root/branches/sca-equinox
diff options
context:
space:
mode:
Diffstat (limited to 'branches/sca-equinox')
-rw-r--r--branches/sca-equinox/modules/implementation-resource/META-INF/MANIFEST.MF22
-rw-r--r--branches/sca-equinox/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java5
2 files changed, 15 insertions, 12 deletions
diff --git a/branches/sca-equinox/modules/implementation-resource/META-INF/MANIFEST.MF b/branches/sca-equinox/modules/implementation-resource/META-INF/MANIFEST.MF
index 189ea2a372..55271ff6cc 100644
--- a/branches/sca-equinox/modules/implementation-resource/META-INF/MANIFEST.MF
+++ b/branches/sca-equinox/modules/implementation-resource/META-INF/MANIFEST.MF
@@ -13,15 +13,19 @@ Bnd-LastModified: 1225397272734
Bundle-ManifestVersion: 2
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-Description: Apache Tuscany SCA Resource Implementation Model
-Import-Package: javax.xml.namespace,javax.xml.stream,org.apache.tuscan
- y.sca.assembly;version="1.4",org.apache.tuscany.sca.contribution;vers
- ion="1.4",org.apache.tuscany.sca.contribution.processor;version="1.4"
- ,org.apache.tuscany.sca.contribution.resolver;version="1.4",org.apach
- e.tuscany.sca.core;version="1.4",org.apache.tuscany.sca.data.collecti
- on;version="1.4",org.apache.tuscany.sca.implementation.resource;versi
- on="1.4",org.apache.tuscany.sca.interfacedef;version="1.4",org.apache
- .tuscany.sca.interfacedef.java;version="1.4",org.apache.tuscany.sca.m
- onitor;version="1.4"
+Import-Package: javax.xml.namespace,
+ javax.xml.stream,
+ org.apache.tuscany.sca.assembly;version="1.4",
+ org.apache.tuscany.sca.contribution;version="1.4",
+ org.apache.tuscany.sca.contribution.processor;version="1.4",
+ org.apache.tuscany.sca.contribution.resolver;version="1.4",
+ org.apache.tuscany.sca.core;version="1.4",
+ org.apache.tuscany.sca.data.collection;version="1.4",
+ org.apache.tuscany.sca.implementation.resource;version="1.4",
+ org.apache.tuscany.sca.interfacedef;version="1.4",
+ org.apache.tuscany.sca.interfacedef.java;version="1.4",
+ org.apache.tuscany.sca.monitor;version="1.4",
+ org.apache.tuscany.sca.policy;version="1.4.0"
Bundle-SymbolicName: org.apache.tuscany.sca.implementation.resource
Bundle-DocURL: http://www.apache.org/
diff --git a/branches/sca-equinox/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java b/branches/sca-equinox/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java
index 539f5b0e2b..9c1453fba3 100644
--- a/branches/sca-equinox/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java
+++ b/branches/sca-equinox/modules/implementation-resource/src/main/java/org/apache/tuscany/sca/implementation/resource/impl/ResourceImplementationProcessor.java
@@ -28,7 +28,6 @@ import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import javax.xml.stream.XMLStreamWriter;
-import org.apache.tuscany.sca.assembly.xml.Constants;
import org.apache.tuscany.sca.contribution.Artifact;
import org.apache.tuscany.sca.contribution.ContributionFactory;
import org.apache.tuscany.sca.contribution.processor.ContributionReadException;
@@ -42,7 +41,6 @@ import org.apache.tuscany.sca.implementation.resource.ResourceImplementationFact
import org.apache.tuscany.sca.monitor.Monitor;
import org.apache.tuscany.sca.monitor.Problem;
import org.apache.tuscany.sca.monitor.Problem.Severity;
-import org.apache.tuscany.sca.monitor.impl.ProblemImpl;
/**
@@ -51,7 +49,8 @@ import org.apache.tuscany.sca.monitor.impl.ProblemImpl;
* @version $Rev$ $Date$
*/
public class ResourceImplementationProcessor implements StAXArtifactProcessor<ResourceImplementation> {
- private static final QName IMPLEMENTATION_RESOURCE = new QName(Constants.SCA10_TUSCANY_NS, "implementation.resource");
+ private static final String SCA10_TUSCANY_NS = "http://tuscany.apache.org/xmlns/sca/1.0";
+ private static final QName IMPLEMENTATION_RESOURCE = new QName(SCA10_TUSCANY_NS, "implementation.resource");
private ContributionFactory contributionFactory;
private ResourceImplementationFactory implementationFactory;