summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-09-11 08:34:02 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-09-11 08:34:02 +0000
commitb42f111b7e3161a49fa700ca3ce588a60fde2bbf (patch)
treee3c79f462e4c6642a2060471734e421da3ad7943 /java/sca/modules
parente41c19d071d0b71d76e0da1ab5bf8034e49b05d1 (diff)
Add methods used by the JMS binding to the core-spi module
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@813718 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/InvocationChain.java7
-rw-r--r--java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java11
2 files changed, 18 insertions, 0 deletions
diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/InvocationChain.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/InvocationChain.java
index 8d6578baa6..4f131365fa 100644
--- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/InvocationChain.java
+++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/InvocationChain.java
@@ -52,6 +52,13 @@ public interface InvocationChain {
Operation getSourceOperation();
/**
+ * Updates the source operation for this invocation chain.
+ *
+ * @param operation The new source operation for this invocation chain
+ */
+ void setSourceOperation(Operation operation);
+
+ /**
* Adds an interceptor to the chain. For reference side, it will be added to
* Phase.REFERENCE. For service side, it will be added to Phase.SERVICE
*
diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java
index c9ee00ff85..9bf8355ef1 100644
--- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java
+++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java
@@ -113,4 +113,15 @@ public interface Message {
* @return
*/
List<Object> getHeaders();
+
+ /**
+ * Returns the binding context in force for this message
+ */
+ <T> T getBindingContext();
+
+ /**
+ * Set the binding context that is in force for this message
+ * @param bindingContext
+ */
+ <T> void setBindingContext(T bindingContext);
}