diff options
author | fmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-11 20:06:28 +0000 |
---|---|---|
committer | fmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-11 20:06:28 +0000 |
commit | 78934ccb57d0b3a297aa37c7eb1c7d16abfce7b4 (patch) | |
tree | df14992b8f3b751fdc7d24d95f858eacbb041bae /sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/java/org/apache/tuscany/sca/binding/comet/runtime/CometServiceBindingProvider.java | |
parent | ba4e7df5e7976e7aac5e704e98d22b335e12cf97 (diff) |
Added multiple response support for the comet binding.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1069936 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/java/org/apache/tuscany/sca/binding/comet/runtime/CometServiceBindingProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/java/org/apache/tuscany/sca/binding/comet/runtime/CometServiceBindingProvider.java b/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/java/org/apache/tuscany/sca/binding/comet/runtime/CometServiceBindingProvider.java index 31c0b5b4d8..764fb67f69 100644 --- a/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/java/org/apache/tuscany/sca/binding/comet/runtime/CometServiceBindingProvider.java +++ b/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/java/org/apache/tuscany/sca/binding/comet/runtime/CometServiceBindingProvider.java @@ -65,7 +65,7 @@ public class CometServiceBindingProvider implements ServiceBindingProvider { JavascriptGenerator.generateServiceProxy(service); for (final Operation operation : serviceInterface.getOperations()) { JavascriptGenerator.generateMethodProxy(service, operation); - ServletFactory.addOperation(this.endpoint, operation); + ServletFactory.registerOperation(this.endpoint, operation); } } @@ -79,7 +79,7 @@ public class CometServiceBindingProvider implements ServiceBindingProvider { @Override public InterfaceContract getBindingInterfaceContract() { - return null; + return endpoint.getService().getInterfaceContract(); } @Override |