From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tuscany/sca/runtime/RuntimeWire.html | 490 +++++++++++++++++++++ 1 file changed, 490 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/runtime/RuntimeWire.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/runtime/RuntimeWire.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/runtime/RuntimeWire.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/runtime/RuntimeWire.html new file mode 100644 index 0000000000..20a4f8440d --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/runtime/RuntimeWire.html @@ -0,0 +1,490 @@ + + + + + + +RuntimeWire + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.runtime +
+Interface RuntimeWire

+
+
All Superinterfaces:
java.lang.Cloneable
+
+
+
All Known Implementing Classes:
EndpointWireImpl, RuntimeWireImpl
+
+
+
+
public interface RuntimeWire
extends java.lang.Cloneable
+ + +

+The runtime wire interface that connects a component reference to a + component service (or an external service) over the selected binding +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Objectclone() + +
+           
+ InvocationChaingetBindingInvocationChain() + +
+          Get the invocation chain for the binding-specific handling
+ InvocationChaingetInvocationChain(Operation operation) + +
+          Lookup the invocation chain by operation
+ java.util.List<InvocationChain>getInvocationChains() + +
+          Returns the invocation chains for service operations associated with the + wire
+ EndpointReferencegetSource() + +
+          Get the source of the wire
+ EndpointReferencegetTarget() + +
+          Get the target of the wire
+ java.lang.Objectinvoke(Message msg) + +
+          This invoke method assumes that the binding invocation chain is in force + and that there will be an operation selector element there to + determine which operation to call
+ java.lang.Objectinvoke(Operation operation, + Message msg) + +
+          Invoke an operation with a context message
+ java.lang.Objectinvoke(Operation operation, + java.lang.Object[] args) + +
+          Invoke an operation with given arguments
+ voidrebuild() + +
+          Force the invocation chains to be rebuilt
+ voidsetTarget(EndpointReference target) + +
+          Rebind the runtime wire with the given target
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSource

+
+EndpointReference getSource()
+
+
Get the source of the wire +

+

+
+
+
+ +
Returns:
The end point reference of the source
+
+
+
+ +

+getTarget

+
+EndpointReference getTarget()
+
+
Get the target of the wire +

+

+
+
+
+ +
Returns:
The end point reference of the target
+
+
+
+ +

+setTarget

+
+void setTarget(EndpointReference target)
+
+
Rebind the runtime wire with the given target +

+

+
+
+
+
Parameters:
target - The target endpoint reference
+
+
+
+ +

+rebuild

+
+void rebuild()
+
+
Force the invocation chains to be rebuilt +

+

+
+
+
+
+
+
+
+ +

+getInvocationChains

+
+java.util.List<InvocationChain> getInvocationChains()
+
+
Returns the invocation chains for service operations associated with the + wire +

+

+
+
+
+ +
Returns:
the invocation chains for service operations associated with the + wire
+
+
+
+ +

+getInvocationChain

+
+InvocationChain getInvocationChain(Operation operation)
+
+
Lookup the invocation chain by operation +

+

+
+
+
+
Parameters:
operation - The operation +
Returns:
The invocation chain for the given operation
+
+
+
+ +

+getBindingInvocationChain

+
+InvocationChain getBindingInvocationChain()
+
+
Get the invocation chain for the binding-specific handling +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+invoke

+
+java.lang.Object invoke(Message msg)
+                        throws java.lang.reflect.InvocationTargetException
+
+
This invoke method assumes that the binding invocation chain is in force + and that there will be an operation selector element there to + determine which operation to call +

+

+
+
+
+
Parameters:
msg - The message +
Returns:
The result +
Throws: +
java.lang.reflect.InvocationTargetException
+
+
+
+ +

+invoke

+
+java.lang.Object invoke(Operation operation,
+                        java.lang.Object[] args)
+                        throws java.lang.reflect.InvocationTargetException
+
+
Invoke an operation with given arguments +

+

+
+
+
+
Parameters:
operation - The operation
args - The arguments +
Returns:
The result +
Throws: +
java.lang.reflect.InvocationTargetException
+
+
+
+ +

+invoke

+
+java.lang.Object invoke(Operation operation,
+                        Message msg)
+                        throws java.lang.reflect.InvocationTargetException
+
+
Invoke an operation with a context message +

+

+
+
+
+
Parameters:
operation - The operation
msg - The message +
Returns:
The result +
Throws: +
java.lang.reflect.InvocationTargetException
+
+
+
+ +

+clone

+
+java.lang.Object clone()
+                       throws java.lang.CloneNotSupportedException
+
+
+
+
+
+ +
Returns:
a clone of the runtime wire +
Throws: +
java.lang.CloneNotSupportedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3