diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-09 14:18:03 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-09 14:18:03 +0000 |
commit | be8032d611c409d2a0be0fd25ca0d25f739b0946 (patch) | |
tree | da1cae72056bbc6f132aebffff8dcf488570ba57 /sca-java-2.x/trunk/modules/implementation-spring/src/main | |
parent | 26c5fc1034f844f9dd47a43737f4f6a4ece4670d (diff) |
TUSCANY-242 add URI processing wherever we read an anyURI attribute
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920885 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-spring/src/main')
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringImplementationProcessor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringImplementationProcessor.java b/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringImplementationProcessor.java index 0cd85d1e33..d553011098 100644 --- a/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringImplementationProcessor.java +++ b/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/xml/SpringImplementationProcessor.java @@ -30,6 +30,7 @@ import org.apache.tuscany.sca.assembly.AssemblyFactory; import org.apache.tuscany.sca.assembly.ComponentType; import org.apache.tuscany.sca.assembly.xml.Constants; import org.apache.tuscany.sca.assembly.xml.PolicySubjectProcessor; +import org.apache.tuscany.sca.contribution.processor.BaseStAXArtifactProcessor; import org.apache.tuscany.sca.contribution.processor.ContributionReadException; import org.apache.tuscany.sca.contribution.processor.ContributionResolveException; import org.apache.tuscany.sca.contribution.processor.ContributionWriteException; @@ -50,7 +51,7 @@ import org.apache.tuscany.sca.monitor.Problem.Severity; * * @version $Rev$ $Date$ */ -public class SpringImplementationProcessor implements StAXArtifactProcessor<SpringImplementation> { +public class SpringImplementationProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor<SpringImplementation> { private static final String LOCATION = "location"; private static final String IMPLEMENTATION_SPRING = "implementation.spring"; @@ -124,7 +125,7 @@ public class SpringImplementationProcessor implements StAXArtifactProcessor<Spri SpringImplementation springImplementation = null; // Read the location attribute for the spring implementation - String springLocation = reader.getAttributeValue(null, LOCATION); + String springLocation = getURIString(reader, LOCATION); if (springLocation != null) { springImplementation = new SpringImplementation(); springImplementation.setLocation(springLocation); |