diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-26 15:44:27 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-26 15:44:27 +0000 |
commit | 93f43075a998bfb14e80e601d2992f107928a359 (patch) | |
tree | 455af3ac161121207fa65821727cde12b847a19c /branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime | |
parent | 8cfe8a55f6aa8616d6ee04d72d8af98315fc35ee (diff) |
Remove old "getWireFormatInterfaceContract" operation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@758697 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime')
2 files changed, 4 insertions, 9 deletions
diff --git a/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLReferenceProvider.java b/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLReferenceProvider.java index 0c383c0579..1365cf951e 100644 --- a/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLReferenceProvider.java +++ b/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLReferenceProvider.java @@ -90,11 +90,7 @@ public class WireFormatJMSTextXMLReferenceProvider implements WireFormatProvider } return "onMessage".equals(ic.getInterface().getOperations().get(0).getName()); } - - public InterfaceContract getWireFormatInterfaceContract() { - return interfaceContract; - } - + public InterfaceContract configureWireFormatInterfaceContract(InterfaceContract interfaceContract){ if (this.interfaceContract != null && diff --git a/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLServiceProvider.java b/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLServiceProvider.java index 95dcbdf189..bccbb669b2 100644 --- a/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLServiceProvider.java +++ b/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmstextxml/runtime/WireFormatJMSTextXMLServiceProvider.java @@ -63,12 +63,15 @@ public class WireFormatJMSTextXMLServiceProvider implements WireFormatProvider { // currently maintaining the message processor structure which // contains the details of jms message processing so set the message // type here if not set explicitly in SCDL + // defaults to JMSBindingConstants.XML_MP_CLASSNAME so no need to set it +/* if (this.binding.getRequestWireFormat() instanceof WireFormatJMSTextXML){ this.binding.setRequestMessageProcessorName(JMSBindingConstants.XML_MP_CLASSNAME); } if (this.binding.getResponseWireFormat() instanceof WireFormatJMSTextXML){ this.binding.setResponseMessageProcessorName(JMSBindingConstants.XML_MP_CLASSNAME); } +*/ // create a local interface contract that is configured specifically to // deal with the data format that this wire format is expecting to sent to @@ -89,10 +92,6 @@ public class WireFormatJMSTextXMLServiceProvider implements WireFormatProvider { } return "onMessage".equals(ic.getInterface().getOperations().get(0).getName()); } - - public InterfaceContract getWireFormatInterfaceContract() { - return interfaceContract; - } public InterfaceContract configureWireFormatInterfaceContract(InterfaceContract interfaceContract){ |