tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r534717 - in /incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo: EchoBinding.java EchoBindingProcessor.java EchoConstants.java
Date Thu, 03 May 2007 05:41:34 GMT
Author: rfeng
Date: Wed May  2 22:41:33 2007
New Revision: 534717

URL: http://svn.apache.org/viewvc?view=rev&rev=534717
Log:
Remove the constant interface and merge it into EchoBinding

Removed:
    incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoConstants.java
Modified:
    incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBinding.java
    incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBindingProcessor.java

Modified: incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBinding.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBinding.java?view=diff&rev=534717&r1=534716&r2=534717
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBinding.java (original)
+++ incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBinding.java Wed
May  2 22:41:33 2007
@@ -19,6 +19,10 @@
 
 package echo;
 
+import static org.osoa.sca.Constants.SCA_NS;
+
+import javax.xml.namespace.QName;
+
 import org.apache.tuscany.assembly.Binding;
 
 /**
@@ -27,5 +31,5 @@
  * @version $Rev$ $Date$
  */
 public interface EchoBinding extends Binding {
-
+    QName BINDING_ECHO = new QName(SCA_NS, "binding.echo");
 }

Modified: incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBindingProcessor.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBindingProcessor.java?view=diff&rev=534717&r1=534716&r2=534717
==============================================================================
--- incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBindingProcessor.java
(original)
+++ incubator/tuscany/java/sca/samples/binding-echo/src/main/java/echo/EchoBindingProcessor.java
Wed May  2 22:41:33 2007
@@ -31,7 +31,7 @@
 
 /**
  * A processor for <binding.echo> elements.
- *
+ * 
  * @version $Rev$ $Date$
  */
 public class EchoBindingProcessor implements StAXArtifactProcessorExtension<EchoBinding>
{
@@ -46,7 +46,7 @@
     }
 
     public QName getArtifactType() {
-        return EchoConstants.BINDING_ECHO;
+        return EchoBinding.BINDING_ECHO;
     }
 
     public Class<EchoBinding> getModelType() {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message