From 4bd58916e3e72d14787ba292d8f970cd5ac89fc5 Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 30 Apr 2009 15:26:38 +0000 Subject: TUSCANY-2965 - add fault handling code for wireFormat.bytesXML git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@770283 13f79535-47bb-0310-9956-ffa450edef68 --- .../jmsbytesxml/runtime/WireFormatJMSBytesXMLServiceProvider.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytesxml/runtime/WireFormatJMSBytesXMLServiceProvider.java') diff --git a/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytesxml/runtime/WireFormatJMSBytesXMLServiceProvider.java b/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytesxml/runtime/WireFormatJMSBytesXMLServiceProvider.java index ca0807d635..c2d81600e1 100644 --- a/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytesxml/runtime/WireFormatJMSBytesXMLServiceProvider.java +++ b/branches/sca-java-1.x/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wireformat/jmsbytesxml/runtime/WireFormatJMSBytesXMLServiceProvider.java @@ -23,6 +23,7 @@ import org.apache.axiom.om.OMElement; import org.apache.tuscany.sca.assembly.Binding; import org.apache.tuscany.sca.binding.jms.impl.JMSBinding; import org.apache.tuscany.sca.binding.jms.impl.JMSBindingConstants; +import org.apache.tuscany.sca.binding.jms.provider.JMSResourceFactory; import org.apache.tuscany.sca.binding.jms.wireformat.jmsbytes.WireFormatJMSBytes; import org.apache.tuscany.sca.binding.jms.wireformat.jmsbytesxml.WireFormatJMSBytesXML; import org.apache.tuscany.sca.binding.ws.WebServiceBinding; @@ -41,17 +42,20 @@ public class WireFormatJMSBytesXMLServiceProvider implements WireFormatProvider private RuntimeComponent component; private RuntimeComponentService service; private JMSBinding binding; + private JMSResourceFactory jmsResourceFactory; private InterfaceContract interfaceContract; public WireFormatJMSBytesXMLServiceProvider(ExtensionPointRegistry registry, RuntimeComponent component, RuntimeComponentService service, - Binding binding) { + Binding binding, + JMSResourceFactory jmsResourceFactory) { super(); this.registry = registry; this.component = component; this.service = service; this.binding = (JMSBinding)binding; + this.jmsResourceFactory = jmsResourceFactory; // configure the service based on this wire format @@ -97,7 +101,7 @@ public class WireFormatJMSBytesXMLServiceProvider implements WireFormatProvider */ public Interceptor createInterceptor() { return new WireFormatJMSBytesXMLServiceInterceptor((JMSBinding)binding, - null, + jmsResourceFactory, service.getRuntimeWire(binding)); } -- cgit v1.2.3