diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-28 01:50:40 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-28 01:50:40 +0000 |
commit | ff6107c550642e5cc00565f69953c8e298747c61 (patch) | |
tree | 32551c12918bdfd32ba28d343abe8b2e18d89674 | |
parent | 0e96bf2b8c08baaf0226b17deb2cc550b217e3c2 (diff) |
Updating jsonrpc binding to move away from deprecated way of setting databinding
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@672453 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCServiceBindingProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCServiceBindingProvider.java b/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCServiceBindingProvider.java index 2ebbecff68..9ee70d5adc 100644 --- a/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCServiceBindingProvider.java +++ b/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCServiceBindingProvider.java @@ -85,7 +85,7 @@ public class JSONRPCServiceBindingProvider implements ServiceBindingProvider { public void start() { // Set default databinding to json - serviceContract.getInterface().setDefaultDataBinding(JSONDataBinding.NAME); + serviceContract.getInterface().resetDataBinding(JSONDataBinding.NAME); // Determine the service business interface Class<?> serviceInterface = getTargetJavaClass(serviceContract.getInterface()); |