summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-05 15:22:30 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-05 15:22:30 +0000
commitae74f29c776eedeaee681495c5d7ff3bb84e0c04 (patch)
tree16bed1a4f8df859b5b6c439bac029d2589031149 /sca-java-1.x/trunk
parent0ed61bb0057a1edde52e8af5980648fd8eb04e9a (diff)
Convert to use the JSON2x databinding. Sill not in the build.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@982660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk')
-rw-r--r--sca-java-1.x/trunk/modules/binding-jsonp-runtime/pom.xml2
-rw-r--r--sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPReferenceBindingProvider.java2
-rw-r--r--sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPServiceBindingProvider.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-1.x/trunk/modules/binding-jsonp-runtime/pom.xml b/sca-java-1.x/trunk/modules/binding-jsonp-runtime/pom.xml
index fd20931474..f9a4d32a1d 100644
--- a/sca-java-1.x/trunk/modules/binding-jsonp-runtime/pom.xml
+++ b/sca-java-1.x/trunk/modules/binding-jsonp-runtime/pom.xml
@@ -56,7 +56,7 @@
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-databinding-json</artifactId>
+ <artifactId>tuscany-databinding-json-2-x</artifactId>
<version>1.7-SNAPSHOT</version>
</dependency>
diff --git a/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPReferenceBindingProvider.java b/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPReferenceBindingProvider.java
index 276c240755..d68a353896 100644
--- a/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPReferenceBindingProvider.java
+++ b/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPReferenceBindingProvider.java
@@ -44,7 +44,7 @@ public class JSONPReferenceBindingProvider implements ReferenceBindingProvider {
} catch (Exception ex){
// we know this supports clone
}
- contract.getInterface().resetDataBinding("JSON");
+ contract.getInterface().resetDataBinding("JSON2x");
}
public Invoker createInvoker(Operation operation) {
return new JSONPInvoker(operation, binding);
diff --git a/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPServiceBindingProvider.java b/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPServiceBindingProvider.java
index 6c2dec5365..28a809f989 100644
--- a/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPServiceBindingProvider.java
+++ b/sca-java-1.x/trunk/modules/binding-jsonp-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonp/runtime/JSONPServiceBindingProvider.java
@@ -52,7 +52,7 @@ public class JSONPServiceBindingProvider implements ServiceBindingProvider {
} catch (Exception ex){
// we know this supports clone
}
- contract.getInterface().resetDataBinding("JSON");
+ contract.getInterface().resetDataBinding("JSON2x");
}
public void start() {