diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 10:23:42 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 10:23:42 +0000 |
commit | bdffee9de1a3cbb551d65e108a26956152c4eb70 (patch) | |
tree | f79a232d16ac0d81583a09d870113f3341e6f772 /sca-java-1.x/trunk/modules/binding-jms/src | |
parent | 1303bb654471a586be4049978daba5a8fe221d71 (diff) |
TUSCANY-242 add URI specific processing wherever we read an anyURI attribute
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/modules/binding-jms/src')
-rw-r--r-- | sca-java-1.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sca-java-1.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java b/sca-java-1.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java index 49875d84d0..f9256c106c 100644 --- a/sca-java-1.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java +++ b/sca-java-1.x/trunk/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/impl/JMSBindingProcessor.java @@ -219,13 +219,13 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } // Read initial context factory - String initialContextFactory = reader.getAttributeValue(null, "initialContextFactory"); + String initialContextFactory = getURIString(reader, "initialContextFactory"); if (initialContextFactory != null && initialContextFactory.length() > 0) { jmsBinding.setInitialContextFactoryName(initialContextFactory); } // Read JNDI URL - String jndiURL = reader.getAttributeValue(null, "jndiURL"); + String jndiURL = getURIString(reader, "jndiURL"); if (jndiURL != null && jndiURL.length() > 0) { jmsBinding.setJndiURL(jndiURL); } @@ -407,7 +407,7 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseDestination(XMLStreamReader reader, JMSBinding jmsBinding) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = getURIString(reader, "name"); if (name != null && name.length() > 0) { jmsBinding.setDestinationName(name); } @@ -433,7 +433,7 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseConnectionFactory(XMLStreamReader reader, JMSBinding jmsBinding) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = getURIString(reader, "name"); if (name != null && name.length() > 0) { jmsBinding.setConnectionFactoryName(name); } else { @@ -443,7 +443,7 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseActivationSpec(XMLStreamReader reader, JMSBinding jmsBinding) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = getURIString(reader, "name"); if (name != null && name.length() > 0) { jmsBinding.setActivationSpecName(name); } else { @@ -453,7 +453,7 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseResponseDestination(XMLStreamReader reader, JMSBinding jmsBinding) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = getURIString(reader, "name"); if (name != null && name.length() > 0) { jmsBinding.setResponseDestinationName(name); } @@ -479,7 +479,7 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseResponseConnectionFactory(XMLStreamReader reader, JMSBinding jmsBinding) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = getURIString(reader, "name"); if (name != null && name.length() > 0) { jmsBinding.setResponseConnectionFactoryName(name); } else { @@ -489,7 +489,7 @@ public class JMSBindingProcessor extends BaseStAXArtifactProcessor implements St } private void parseResponseActivationSpec(XMLStreamReader reader, JMSBinding jmsBinding) throws XMLStreamException { - String name = reader.getAttributeValue(null, "name"); + String name = getURIString(reader, "name"); if (name != null && name.length() > 0) { jmsBinding.setResponseActivationSpecName(name); } else { |