From f5e3bee1d5f90091f33b290fe588e061bf273fb7 Mon Sep 17 00:00:00 2001 From: slaws Date: Wed, 10 Mar 2010 10:40:26 +0000 Subject: TUSCANY-242 add URI specific processing for binding uris and a couple of others I missed git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921293 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/modules/binding-ejb') diff --git a/sca-java-2.x/trunk/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java b/sca-java-2.x/trunk/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java index af0eb8ea08..71386db450 100644 --- a/sca-java-2.x/trunk/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java @@ -27,6 +27,7 @@ import org.apache.tuscany.sca.assembly.xml.Constants; import org.apache.tuscany.sca.assembly.xml.PolicySubjectProcessor; import org.apache.tuscany.sca.binding.ejb.EJBBinding; import org.apache.tuscany.sca.binding.ejb.EJBBindingFactory; +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; @@ -57,7 +58,7 @@ import org.apache.tuscany.sca.policy.PolicyFactory; * * @version $Rev$ $Date$ */ -public class EJBBindingProcessor implements StAXArtifactProcessor { +public class EJBBindingProcessor extends BaseStAXArtifactProcessor implements StAXArtifactProcessor { private PolicyFactory policyFactory; private PolicySubjectProcessor policyProcessor; @@ -106,7 +107,7 @@ public class EJBBindingProcessor implements StAXArtifactProcessor { } // Read binding URI - String uri = reader.getAttributeValue(null, EJBBinding.URI); + String uri = getURIString(reader, EJBBinding.URI); if (uri != null) { ejbBinding.setURI(uri); } -- cgit v1.2.3