diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-30 16:25:45 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2008-12-30 16:25:45 +0000 |
commit | 1c0a9c79c95fd483b1ed11462af38a0186b9e974 (patch) | |
tree | 90257c41d870283668a002406f1dff2d2d4e149d /branches/sca-java-1.x/modules/implementation-script/src | |
parent | 388c3048a9d4d9d38249dcf48a5b0205ef12c323 (diff) |
Add implementation-script to compact-base jar as JDK6 includes JSR223 APIs and a javascript engine
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@730165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-script/src')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java b/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java index 9359590424..e019129554 100644 --- a/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java +++ b/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java @@ -43,7 +43,6 @@ import org.apache.tuscany.sca.implementation.script.engines.TuscanyJRubyScriptEn import org.apache.tuscany.sca.interfacedef.InterfaceContract; import org.apache.tuscany.sca.interfacedef.Operation; import org.apache.tuscany.sca.interfacedef.java.JavaInterface; -import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract; import org.apache.tuscany.sca.invocation.Invoker; import org.apache.tuscany.sca.runtime.RuntimeComponent; @@ -117,7 +116,7 @@ public class ScriptInvokerFactory implements InvokerFactory { // set the databinding and XMLHelper for WSDL interfaces for (Service service : rc.getServices()) { InterfaceContract ic = service.getInterfaceContract(); - if (ic instanceof WSDLInterfaceContract) { + if ("org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract".equals(ic.getClass())) { // Set to use the Axiom data binding ic.getInterface().resetDataBinding(OMElement.class.getName()); xmlHelper = XMLHelper.getArgHelper(scriptEngine); |