From 5a020ed6956ed026c9babcc769c2b121bab74bf4 Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 5 Mar 2009 09:35:04 +0000 Subject: Update ejb binding for oasis namspace changes git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@750399 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/tuscany/sca/binding/ejb/EJBBinding.java | 2 +- .../org/apache/tuscany/sca/binding/ejb/impl/EJBBindingProcessor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'java/sca/modules/binding-ejb/src/main') 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 { public void write(EJBBinding ejbBinding, XMLStreamWriter writer) throws ContributionWriteException, XMLStreamException { // Write a - 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()); -- cgit v1.2.3