From 8646aa6f332cd1a04999ee4e0222e819a367f44f Mon Sep 17 00:00:00 2001 From: slaws Date: Wed, 2 Dec 2009 11:49:16 +0000 Subject: 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 --- .../binding/jsonrpc/impl/JSONRPCBindingImpl.java | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'sca-java-2.x/trunk/modules/binding-jsonrpc/src') 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) { + } } -- cgit v1.2.3