diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-07-05 08:18:50 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-07-05 08:18:50 +0000 |
commit | e14213fce7c1427b333d3f19c7bcc362cb020d98 (patch) | |
tree | c4eb034fbeb2ab89af6d3af933a4e2c51b1aad99 /sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache | |
parent | 4d11ca5eae8f34313a61a0da665d4008e24b0977 (diff) |
TUSCANY-3883 - Let the binding model store/return a wireFormat. Request and response wire format are set to be the same at the moment. There is a JIRA to separate them.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1142917 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/SCABindingImpl.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/SCABindingImpl.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/SCABindingImpl.java index b42f3f929f..63e5f1e82c 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/SCABindingImpl.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/SCABindingImpl.java @@ -46,6 +46,7 @@ public class SCABindingImpl implements SCABinding, Extensible, PolicySubject { private List<Intent> requiredIntents = new ArrayList<Intent>(); private List<PolicySet> policySets = new ArrayList<PolicySet>(); private ExtensionType extensionType; + private WireFormat wireFormat ; /** * Constructs a new SCA binding. @@ -126,17 +127,19 @@ public class SCABindingImpl implements SCABinding, Extensible, PolicySubject { } public WireFormat getRequestWireFormat() { - return null; + return wireFormat; } public void setRequestWireFormat(WireFormat wireFormat) { + this.wireFormat = wireFormat; } public WireFormat getResponseWireFormat() { - return null; + return wireFormat; } public void setResponseWireFormat(WireFormat wireFormat) { + this.wireFormat = wireFormat; } public OperationSelector getOperationSelector() { |