summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-09-14 13:08:49 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-09-14 13:08:49 +0000
commit3e20795d5c06fe0dc17967dd459f7417183b5ff3 (patch)
tree2ca41684bd2774d2e05bb5f019858e252011430a /java/sca/modules
parent2ed417e3d7f91feaafc351aa940a2b64290c9866 (diff)
Correct getting the component service
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java2
-rw-r--r--java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsuserprop/runtime/OperationSelectorJMSUserPropServiceInterceptor.java2
-rw-r--r--java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java2
-rw-r--r--java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/CallbackDestinationInterceptor.java2
-rw-r--r--java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/OperationPropertiesInterceptor.java2
5 files changed, 5 insertions, 5 deletions
diff --git a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java
index 8b54a1563e..8efd75d40d 100644
--- a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java
+++ b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsdefault/runtime/OperationSelectorJMSDefaultServiceInterceptor.java
@@ -74,7 +74,7 @@ public class OperationSelectorJMSDefaultServiceInterceptor implements Intercepto
this.jmsResourceFactory = jmsResourceFactory;
this.requestMessageProcessor = JMSMessageProcessorUtil.getRequestMessageProcessor(jmsBinding);
this.responseMessageProcessor = JMSMessageProcessorUtil.getResponseMessageProcessor(jmsBinding);
- this.service = (RuntimeComponentService)runtimeWire.getEndpoint().getInterfaceContract();
+ this.service = (RuntimeComponentService)runtimeWire.getEndpoint().getService();
this.serviceOperations = service.getInterfaceContract().getInterface().getOperations();
}
diff --git a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsuserprop/runtime/OperationSelectorJMSUserPropServiceInterceptor.java b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsuserprop/runtime/OperationSelectorJMSUserPropServiceInterceptor.java
index dabffa5c45..7886c2d138 100644
--- a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsuserprop/runtime/OperationSelectorJMSUserPropServiceInterceptor.java
+++ b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/operationselector/jmsuserprop/runtime/OperationSelectorJMSUserPropServiceInterceptor.java
@@ -53,7 +53,7 @@ public class OperationSelectorJMSUserPropServiceInterceptor implements Intercept
this.jmsBinding = jmsBinding;
this.operationSelector = (OperationSelectorJMSUserProp)jmsBinding.getOperationSelector();
this.runtimeWire = runtimeWire;
- this.service = (RuntimeComponentService) runtimeWire.getEndpoint().getInterfaceContract();
+ this.service = (RuntimeComponentService) runtimeWire.getEndpoint().getService();
this.serviceOperations = service.getInterfaceContract().getInterface().getOperations();
}
diff --git a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java
index c0258cd672..6bcd969765 100644
--- a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java
+++ b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/transport/TransportServiceInterceptor.java
@@ -65,7 +65,7 @@ public class TransportServiceInterceptor implements Interceptor {
this.jmsResourceFactory = jmsResourceFactory;
this.requestMessageProcessor = JMSMessageProcessorUtil.getRequestMessageProcessor(jmsBinding);
this.responseMessageProcessor = JMSMessageProcessorUtil.getResponseMessageProcessor(jmsBinding);
- this.service = (RuntimeComponentService)runtimeWire.getEndpoint().getInterfaceContract();
+ this.service = (RuntimeComponentService)runtimeWire.getEndpoint().getService();
this.correlationScheme = jmsBinding.getCorrelationScheme();
}
diff --git a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/CallbackDestinationInterceptor.java b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/CallbackDestinationInterceptor.java
index d25691e55f..831d1246f8 100644
--- a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/CallbackDestinationInterceptor.java
+++ b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/CallbackDestinationInterceptor.java
@@ -38,7 +38,7 @@ public class CallbackDestinationInterceptor implements Interceptor {
public CallbackDestinationInterceptor(RuntimeWire runtimeWire) {
super();
- this.service = (RuntimeComponentService) runtimeWire.getEndpoint().getInterfaceContract();
+ this.service = (RuntimeComponentService) runtimeWire.getEndpoint().getService();
}
public Invoker getNext() {
diff --git a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/OperationPropertiesInterceptor.java b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/OperationPropertiesInterceptor.java
index fd44173ffa..9536de2bfa 100644
--- a/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/OperationPropertiesInterceptor.java
+++ b/java/sca/modules/binding-jms-runtime/src/main/java/org/apache/tuscany/sca/binding/jms/wire/OperationPropertiesInterceptor.java
@@ -37,7 +37,7 @@ public class OperationPropertiesInterceptor implements Interceptor {
public OperationPropertiesInterceptor(JMSBinding jmsBinding, RuntimeWire runtimeWire) {
super();
this.jmsBinding = jmsBinding;
- this.service = (RuntimeComponentService) runtimeWire.getEndpoint().getInterfaceContract();
+ this.service = (RuntimeComponentService) runtimeWire.getEndpoint().getService();
this.serviceOperations = service.getInterfaceContract().getInterface().getOperations();
}