diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-11 09:40:45 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-11 09:40:45 +0000 |
commit | 6dac255decb412446c48ff1d30fc929a3d10a77f (patch) | |
tree | 9393e3435222bdd086ec18afe81c501dd96a95ff | |
parent | a257384091a07e1277eccb8998d397fd46336098 (diff) |
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
-rw-r--r-- | java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/provider/WireFormatProvider.java | 13 |
1 files changed, 8 insertions, 5 deletions
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 |