summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/implementation-python/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-10 08:30:04 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-10 08:30:04 +0000
commit353403e57d555188c9101348583c76e71d3fcc36 (patch)
treee3360e657dfd5267f6761f3249a62200420090bd /sca-java-2.x/trunk/modules/implementation-python/src
parentee67bb1fb0a9762c4b77ad296e25393d201c404f (diff)
The json databinding is a runtime module so can't be used by a model module. This changes to use a hardcoded string instead of the databinding name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1033392 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-python/src')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-python/src/main/java/org/apache/tuscany/sca/implementation/python/PythonImplementationProcessor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-python/src/main/java/org/apache/tuscany/sca/implementation/python/PythonImplementationProcessor.java b/sca-java-2.x/trunk/modules/implementation-python/src/main/java/org/apache/tuscany/sca/implementation/python/PythonImplementationProcessor.java
index b4daab34cd..424de86815 100644
--- a/sca-java-2.x/trunk/modules/implementation-python/src/main/java/org/apache/tuscany/sca/implementation/python/PythonImplementationProcessor.java
+++ b/sca-java-2.x/trunk/modules/implementation-python/src/main/java/org/apache/tuscany/sca/implementation/python/PythonImplementationProcessor.java
@@ -37,7 +37,6 @@ import org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor;
import org.apache.tuscany.sca.contribution.resolver.ModelResolver;
import org.apache.tuscany.sca.core.ExtensionPointRegistry;
import org.apache.tuscany.sca.core.FactoryExtensionPoint;
-import org.apache.tuscany.sca.databinding.json.JSONDataBinding;
import org.apache.tuscany.sca.interfacedef.InterfaceContract;
import org.apache.tuscany.sca.interfacedef.InvalidInterfaceException;
import org.apache.tuscany.sca.interfacedef.Operation;
@@ -68,7 +67,8 @@ public class PythonImplementationProcessor extends BaseStAXArtifactProcessor imp
Operation op = eval.getOperations().get(0);
op.setDynamic(true);
getOperations().add(op);
- resetDataBinding(JSONDataBinding.NAME);
+ //resetDataBinding(JSONDataBinding.NAME);
+ resetDataBinding("JSON");
setUnresolved(false);
}