From 6dac255decb412446c48ff1d30fc929a3d10a77f Mon Sep 17 00:00:00 2001 From: antelder Date: Fri, 11 Sep 2009 09:40:45 +0000 Subject: Merge WireFomratprovider changes from1.x to 2.x to fix errors in JMS binding git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@813744 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/provider/WireFormatProvider.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'java/sca/modules') diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/WireFormatProvider.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/WireFormatProvider.java index a7bca9afba..b3a2b4763e 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/WireFormatProvider.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/WireFormatProvider.java @@ -27,15 +27,18 @@ import org.apache.tuscany.sca.invocation.Interceptor; */ public interface WireFormatProvider { - /* - * Return the contract that describes the interface that + /** + * Set up the contract that describes the interface that * is providing data to or accepting data from the - * wire format interceptor. The wire formats job + * wire format interceptor. The wire format's job * is to translate between this interface contract and the - * format on the wire + * format on the wire. The interface contract may be + * configured separately for request and response + * wire formats + * * @return the wire format interface contract */ - InterfaceContract getWireFormatInterfaceContract(); + public InterfaceContract configureWireFormatInterfaceContract(InterfaceContract interfaceContract); /** * Create an interceptor for the wire format -- cgit v1.2.3