diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 10:10:58 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 10:10:58 +0000 |
commit | 1303bb654471a586be4049978daba5a8fe221d71 (patch) | |
tree | a47e003108e2498ecbf770ea8f15f9f85fa1fe41 /sca-java-1.x/branches/sca-java-1.5.2/modules/binding-corba | |
parent | 5b3b3cf5da7c994092c1eb44fef2e142d1e744f1 (diff) |
TUSCANY-242 add URI specific processing wherever we read an anyURI attribute
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921279 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.5.2/modules/binding-corba')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.5.2/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.5.2/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java b/sca-java-1.x/branches/sca-java-1.5.2/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java index 0bb38d3682..a837e95294 100644 --- a/sca-java-1.x/branches/sca-java-1.5.2/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java +++ b/sca-java-1.x/branches/sca-java-1.5.2/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java @@ -28,6 +28,7 @@ import org.apache.tuscany.sca.assembly.xml.Constants; import org.apache.tuscany.sca.assembly.xml.PolicyAttachPointProcessor; import org.apache.tuscany.sca.binding.corba.CorbaBinding; import org.apache.tuscany.sca.contribution.ModelFactoryExtensionPoint; +import org.apache.tuscany.sca.contribution.processor.BaseStAXArtifactProcessor; import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor; import org.apache.tuscany.sca.contribution.resolver.ModelResolver; import org.apache.tuscany.sca.contribution.service.ContributionReadException; @@ -38,7 +39,7 @@ import org.apache.tuscany.sca.policy.PolicyFactory; /** * @version $Rev$ $Date$ */ -public class CorbaBindingProcessor implements StAXArtifactProcessor<CorbaBinding> { +public class CorbaBindingProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor<CorbaBinding> { private PolicyFactory policyFactory; private PolicyAttachPointProcessor policyProcessor; @@ -76,7 +77,7 @@ public class CorbaBindingProcessor implements StAXArtifactProcessor<CorbaBinding } // Read binding URI - String uri = reader.getAttributeValue(null, "uri"); + String uri = getURIString(reader, "uri"); if (uri != null) { binding.setURI(uri); } |