tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svkr...@apache.org
Subject svn commit: r502332 - in /incubator/tuscany/java/sca/kernel/core/src: main/resources/org/apache/tuscany/core/databinding.scdl test/java/org/apache/tuscany/core/databinding/impl/IDLTransformerTestCase.java
Date Thu, 01 Feb 2007 19:47:11 GMT
Author: svkrish
Date: Thu Feb  1 11:47:10 2007
New Revision: 502332

URL: http://svn.apache.org/viewvc?view=rev&rev=502332
Log:
changes to fix broken build, added javabeans databinding and transformers to core, added them
to databinding.scdl

Modified:
    incubator/tuscany/java/sca/kernel/core/src/main/resources/org/apache/tuscany/core/databinding.scdl
    incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/databinding/impl/IDLTransformerTestCase.java

Modified: incubator/tuscany/java/sca/kernel/core/src/main/resources/org/apache/tuscany/core/databinding.scdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/resources/org/apache/tuscany/core/databinding.scdl?view=diff&rev=502332&r1=502331&r2=502332
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/resources/org/apache/tuscany/core/databinding.scdl
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/resources/org/apache/tuscany/core/databinding.scdl
Thu Feb  1 11:47:10 2007
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -16,9 +16,9 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.    
--->
+-->
 <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:system="http://tuscany.apache.org/xmlns/system/1.0-SNAPSHOT"
-    name="org.apache.tuscany.core.DataBinding">
+    name="org.apache.tuscany.core.DataBinding"> 
 
     <component name="databinding.wirePostProcessor">
         <system:implementation.system class="org.apache.tuscany.core.databinding.impl.DataBindingWirePostProcessor"
/>
@@ -26,10 +26,10 @@
 
     <component name="databinding.javaInterfaceProcessor">
         <system:implementation.system class="org.apache.tuscany.core.databinding.impl.DataBindingJavaInterfaceProcessor"
/>
-    </component>
-    
-    <component name="databinding.passByValueWirePostProcessor" >
-        <system:implementation.system class="org.apache.tuscany.core.databinding.impl.PassByValueWirePostProcessor"
/>
+    </component>
+    
+    <component name="databinding.passByValueWirePostProcessor" >
+        <system:implementation.system class="org.apache.tuscany.core.databinding.impl.PassByValueWirePostProcessor"
/>
     </component>
 
     <!-- DataBinding registry -->
@@ -56,6 +56,11 @@
         <system:implementation.system class="org.apache.tuscany.core.databinding.impl.SimpleDataBinding"
/>
         <property name="className">org.w3c.dom.Node</property>
     </component>
+    
+    <component name="databinding.javabeans">
+        <system:implementation.system class="org.apache.tuscany.core.databinding.javabeans.JavaBeansDataBinding"
/>
+        <property name="className">org.w3c.dom.Node</property>
+    </component>
 
     <!-- Transformers -->
 
@@ -83,8 +88,8 @@
         <system:implementation.system class="org.apache.tuscany.core.databinding.xml.InputStream2SAX"
/>
     </component>
 
-    <component name="transformer.Node2Object">
-        <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Node2Object"
/>
+    <component name="transformer.DOMNode2JavaBean">
+        <system:implementation.system class="org.apache.tuscany.core.databinding.javabeans.DOMNode2JavaBean"
/>
     </component>
 
     <component name="transformer.Node2OutputStream">
@@ -103,8 +108,8 @@
         <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Node2XMLStreamReader"
/>
     </component>
 
-    <component name="transformer.Object2Node">
-        <system:implementation.system class="org.apache.tuscany.core.databinding.xml.Object2Node"
/>
+    <component name="transformer.JavaBean2DOMNode">
+        <system:implementation.system class="org.apache.tuscany.core.databinding.javabeans.JavaBean2DOMNode"
/>
     </component>
 
     <component name="transformer.Reader2Node">

Modified: incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/databinding/impl/IDLTransformerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/databinding/impl/IDLTransformerTestCase.java?view=diff&rev=502332&r1=502331&r2=502332
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/databinding/impl/IDLTransformerTestCase.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/databinding/impl/IDLTransformerTestCase.java
Thu Feb  1 11:47:10 2007
@@ -26,7 +26,7 @@
 import junit.framework.TestCase;
 
 import org.apache.tuscany.core.databinding.xml.DOMDataBinding;
-import org.apache.tuscany.core.databinding.xml.Node2Object;
+import org.apache.tuscany.core.databinding.javabeans.DOMNode2JavaBean;
 import org.apache.tuscany.core.databinding.xml.Node2String;
 import org.apache.tuscany.core.databinding.xml.Object2Node;
 import org.apache.tuscany.core.databinding.xml.String2Node;
@@ -163,7 +163,7 @@
         TransformerRegistryImpl tr = new TransformerRegistryImpl();
         tr.registerTransformer(new String2Node());
         tr.registerTransformer(new Node2String());
-        tr.registerTransformer(new Node2Object());
+        tr.registerTransformer(new DOMNode2JavaBean());
         tr.registerTransformer(new Object2Node());
         m.setTransformerRegistry(tr);
         DataBindingRegistry dataBindingRegistry = new DataBindingRegistryImpl();



---------------------------------------------------------------------
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