diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-22 22:40:19 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-22 22:40:19 +0000 |
commit | 0491f669ce7f70b5b45476d311bdfe018d6bea24 (patch) | |
tree | 31fd752cb61a6aa6abf74f462ca0cfd6b53efe74 /java/sca/modules/core-spi | |
parent | 5e9776cf291d66d2e4789d90957098d3f3fa2386 (diff) |
Start to add InvocationChain for bindings
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@707218 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/core-spi')
-rw-r--r-- | java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Phase.java | 10 | ||||
-rw-r--r-- | java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeWire.java | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Phase.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Phase.java index 2deb273f84..b4d3ec4962 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Phase.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Phase.java @@ -37,6 +37,16 @@ public interface Phase { // reference binding invoker String REFERENCE_BINDING = "reference.binding"; + String REFERENCE_BINDING_DISPATCHER = "reference.binding.dispatcher"; + String REFERENCE_BINDING_WIREFORMAT = "reference.binding.wireformat"; + String REFERENCE_BINDING_POLICY = "reference.binding.policy"; + String REFERENCE_BINDING_TRANSPORT = "reference.binding.transport"; + + String SERVICE_BINDING_TRANSPORT = "service.binding.transport"; + String SERVICE_BINDING_WIREFORMAT = "service.binding.wireformat"; + String SERVICE_BINDING_POLICY = "service.binding.policy"; + String SERVICE_BINDING_OPERATION_SELECTOR = "service.binding.operationselector"; + // The first phase for incoming invocations via a service String SERVICE_BINDING = "service.binding"; diff --git a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeWire.java b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeWire.java index da37385af1..609e2aa89b 100644 --- a/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeWire.java +++ b/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/RuntimeWire.java @@ -76,6 +76,12 @@ public interface RuntimeWire extends Cloneable { InvocationChain getInvocationChain(Operation operation); /** + * Get the invocation chain for the binding-specific handling + * @return + */ + InvocationChain getBindingInvocationChain(); + + /** * Invoke an operation with given arguments * @param operation The operation * @param args The arguments |