summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-05 09:35:04 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-05 09:35:04 +0000
commit5a020ed6956ed026c9babcc769c2b121bab74bf4 (patch)
treeb00cd879f273b8334d6224b7168c2b5742b0a2ed /java/sca
parent55253b6188a52db80173173110618b57986d555c (diff)
Update ejb binding for oasis namspace changes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@750399 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBinding.java2
-rw-r--r--java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBinding.java b/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBinding.java
index 271a113429..c6243266d6 100644
--- a/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBinding.java
+++ b/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBinding.java
@@ -33,7 +33,7 @@ public interface EJBBinding extends Binding, Base {
// Constants used when describing the EJB binding
// model and for setting up defaults
String BINDING_EJB = "binding.ejb";
- QName BINDING_EJB_QNAME = new QName(Constants.SCA10_NS, BINDING_EJB);
+ QName BINDING_EJB_QNAME = new QName(Constants.SCA11_NS, BINDING_EJB);
// Constants for the XML describing the EJB Binding
String HOME_INTERFACE = "homeInterface";
diff --git a/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java b/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java
index 2484273c74..49607e8716 100644
--- a/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java
+++ b/java/sca/modules/binding-ejb/src/main/java/org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java
@@ -159,7 +159,7 @@ public class EJBBindingProcessor implements StAXArtifactProcessor<EJBBinding> {
public void write(EJBBinding ejbBinding, XMLStreamWriter writer) throws ContributionWriteException,
XMLStreamException {
// Write a <binding.ejb>
- writer.writeStartElement(Constants.SCA10_NS, EJBBinding.BINDING_EJB);
+ writer.writeStartElement(Constants.SCA11_NS, EJBBinding.BINDING_EJB);
if (ejbBinding.getName() != null){
writer.writeAttribute(EJBBinding.NAME, ejbBinding.getName());