summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-jsonrpc
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-12-02 11:49:16 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-12-02 11:49:16 +0000
commit8646aa6f332cd1a04999ee4e0222e819a367f44f (patch)
tree79f4e5804572263f8f55b9fcb00cd27de6048155 /sca-java-2.x/trunk/modules/binding-jsonrpc
parent789073d22c765ff8389d5ccba27003018317759c (diff)
Tidy up the binding interface to include the wire format and operation selector operations. They are in the OASIS specs now so it doesn't seem sensible to maintain the separate (experimental) interface that previously housed them. We want to encourage binding writers to provide wire formats and operation selectors as appropriate
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@886122 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jsonrpc')
-rw-r--r--sca-java-2.x/trunk/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/impl/JSONRPCBindingImpl.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/impl/JSONRPCBindingImpl.java b/sca-java-2.x/trunk/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/impl/JSONRPCBindingImpl.java
index 1d1bd4ed43..4c1a261e81 100644
--- a/sca-java-2.x/trunk/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/impl/JSONRPCBindingImpl.java
+++ b/sca-java-2.x/trunk/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/impl/JSONRPCBindingImpl.java
@@ -21,6 +21,8 @@ package org.apache.tuscany.sca.binding.jsonrpc.impl;
import javax.xml.namespace.QName;
+import org.apache.tuscany.sca.assembly.OperationSelector;
+import org.apache.tuscany.sca.assembly.WireFormat;
import org.apache.tuscany.sca.binding.jsonrpc.JSONRPCBinding;
/**
@@ -65,4 +67,25 @@ public class JSONRPCBindingImpl implements JSONRPCBinding {
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
+
+ public WireFormat getRequestWireFormat() {
+ return null;
+ }
+
+ public void setRequestWireFormat(WireFormat wireFormat) {
+ }
+
+ public WireFormat getResponseWireFormat() {
+ return null;
+ }
+
+ public void setResponseWireFormat(WireFormat wireFormat) {
+ }
+
+ public OperationSelector getOperationSelector() {
+ return null;
+ }
+
+ public void setOperationSelector(OperationSelector operationSelector) {
+ }
}