summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-corba
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-08-24 19:12:29 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-08-24 19:12:29 +0000
commit06942a3a38de5bf28302ccbf79dc83552ecf7d96 (patch)
tree5f6cc12f71d43ecd17838a3bdeb7e839d85363f0 /sca-java-1.x/branches/sca-java-1.6.1/modules/binding-corba
parent7d0186bd737c4fa1ac2dbce6ba1aee1a8fd54216 (diff)
Merge revision 921286 from trunk into the 1.6.1 branch
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988675 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/modules/binding-corba')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java b/sca-java-1.x/branches/sca-java-1.6.1/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.6.1/modules/binding-corba/src/main/java/org/apache/tuscany/sca/binding/corba/impl/CorbaBindingProcessor.java
+++ b/sca-java-1.x/branches/sca-java-1.6.1/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);
}