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 --- .../invocation/CallableReferenceObjectFactory.html | 279 ++++++++ .../invocation/CallbackInterfaceInterceptor.html | 316 +++++++++ .../sca/core/invocation/CallbackReferenceImpl.html | 450 +++++++++++++ .../invocation/CallbackReferenceObjectFactory.html | 271 ++++++++ .../core/invocation/CallbackWireObjectFactory.html | 271 ++++++++ .../sca/core/invocation/CglibProxyFactory.html | 452 +++++++++++++ .../DefaultProxyFactoryExtensionPoint.html | 356 ++++++++++ .../core/invocation/ExtensibleProxyFactory.html | 452 +++++++++++++ .../core/invocation/ExtensibleWireProcessor.html | 263 ++++++++ .../sca/core/invocation/InvocationChainImpl.html | 543 +++++++++++++++ .../invocation/JDKCallbackInvocationHandler.html | 300 +++++++++ .../sca/core/invocation/JDKInvocationHandler.html | 747 +++++++++++++++++++++ .../sca/core/invocation/JDKProxyFactory.html | 489 ++++++++++++++ .../sca/core/invocation/MessageFactoryImpl.html | 264 ++++++++ .../tuscany/sca/core/invocation/MessageImpl.html | 648 ++++++++++++++++++ .../invocation/NoMethodForOperationException.html | 289 ++++++++ .../core/invocation/NonBlockingInterceptor.html | 357 ++++++++++ .../sca/core/invocation/PhaseManager.Stage.html | 351 ++++++++++ .../tuscany/sca/core/invocation/PhaseManager.html | 489 ++++++++++++++ .../sca/core/invocation/PhaseSorter.Edge.html | 338 ++++++++++ .../sca/core/invocation/PhaseSorter.Vertex.html | 284 ++++++++ .../tuscany/sca/core/invocation/PhaseSorter.html | 559 +++++++++++++++ .../core/invocation/ProxyCreationException.html | 291 ++++++++ .../tuscany/sca/core/invocation/ProxyFactory.html | 380 +++++++++++ .../invocation/ProxyFactoryExtensionPoint.html | 278 ++++++++ .../sca/core/invocation/RuntimeWireInvoker.html | 555 +++++++++++++++ .../tuscany/sca/core/invocation/SCAProxy.html | 292 ++++++++ .../core/invocation/TargetInvocationException.html | 289 ++++++++ .../sca/core/invocation/ThreadMessageContext.html | 256 +++++++ .../sca/core/invocation/WireObjectFactory.html | 277 ++++++++ .../tuscany/sca/core/invocation/package-frame.html | 102 +++ .../sca/core/invocation/package-summary.html | 280 ++++++++ .../tuscany/sca/core/invocation/package-tree.html | 192 ++++++ 33 files changed, 11960 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackInterfaceInterceptor.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceImpl.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/DefaultProxyFactoryExtensionPoint.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleWireProcessor.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKCallbackInvocationHandler.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKProxyFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageFactoryImpl.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageImpl.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NoMethodForOperationException.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.Stage.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Edge.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Vertex.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyCreationException.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/RuntimeWireInvoker.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/SCAProxy.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/TargetInvocationException.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/WireObjectFactory.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-frame.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-summary.html create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-tree.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.html new file mode 100644 index 0000000000..d9e285e829 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallableReferenceObjectFactory.html @@ -0,0 +1,279 @@ + + + + + + +CallableReferenceObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class CallableReferenceObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.CallableReferenceObjectFactory
+
+
+
All Implemented Interfaces:
ObjectFactory<org.osoa.sca.CallableReference<?>>
+
+
+
+
public class CallableReferenceObjectFactory
extends java.lang.Object
implements ObjectFactory<org.osoa.sca.CallableReference<?>>
+ + +

+Uses a wire to return a CallableReference +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallableReferenceObjectFactory(java.lang.Class<?> businessInterface, + RuntimeComponent component, + RuntimeComponentReference reference, + Binding binding) + +
+          Constructor.
+  + + + + + + + + + + + +
+Method Summary
+ org.osoa.sca.CallableReference<?>getInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallableReferenceObjectFactory

+
+public CallableReferenceObjectFactory(java.lang.Class<?> businessInterface,
+                                      RuntimeComponent component,
+                                      RuntimeComponentReference reference,
+                                      Binding binding)
+
+
Constructor. + + To support the @Reference protected CallableReference ref; +

+

+
Parameters:
businessInterface - the interface to inject
component - the component defining the reference to be injected
reference - the reference to be injected
binding - the binding for the reference
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public org.osoa.sca.CallableReference<?> getInstance()
+                                              throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<org.osoa.sca.CallableReference<?>>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackInterfaceInterceptor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackInterfaceInterceptor.html new file mode 100644 index 0000000000..77eab85f92 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackInterfaceInterceptor.html @@ -0,0 +1,316 @@ + + + + + + +CallbackInterfaceInterceptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class CallbackInterfaceInterceptor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.CallbackInterfaceInterceptor
+
+
+
All Implemented Interfaces:
Interceptor, Invoker
+
+
+
+
public class CallbackInterfaceInterceptor
extends java.lang.Object
implements Interceptor
+ + +

+An interceptor applied to the forward direction of a wire that ensures the callback target implements the required + service contract. This is required as callback targets may be set dynamically by service implementations. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallbackInterfaceInterceptor() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InvokergetNext() + +
+          Returns the next invoker or null
+ Messageinvoke(Message msg) + +
+          Process a synchronous wire
+ voidsetNext(Invoker next) + +
+          Sets the next invoker
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallbackInterfaceInterceptor

+
+public CallbackInterfaceInterceptor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+invoke

+
+public Message invoke(Message msg)
+
+
Description copied from interface: Invoker
+
Process a synchronous wire +

+

+
Specified by:
invoke in interface Invoker
+
+
+
Parameters:
msg - The request Message for the wire +
Returns:
The response Message from the wire
+
+
+
+ +

+setNext

+
+public void setNext(Invoker next)
+
+
Description copied from interface: Interceptor
+
Sets the next invoker +

+

+
Specified by:
setNext in interface Interceptor
+
+
+
Parameters:
next - The next invoker
+
+
+
+ +

+getNext

+
+public Invoker getNext()
+
+
Description copied from interface: Interceptor
+
Returns the next invoker or null +

+

+
Specified by:
getNext in interface Interceptor
+
+
+ +
Returns:
The next Invoker
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceImpl.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceImpl.html new file mode 100644 index 0000000000..6d3c2ec87d --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceImpl.html @@ -0,0 +1,450 @@ + + + + + + +CallbackReferenceImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class CallbackReferenceImpl<B>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.context.CallableReferenceImpl<B>
+      extended by org.apache.tuscany.sca.core.invocation.CallbackReferenceImpl<B>
+
+
+
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, org.osoa.sca.CallableReference<B>
+
+
+
+
public class CallbackReferenceImpl<B>
extends CallableReferenceImpl<B>
+ + +

+Returns proxy instance for a wire callback +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.core.context.CallableReferenceImpl
binding, businessInterface, callbackID, component, compositeActivator, conversation, conversationID, conversationManager, proxy, proxyFactory, reference, scdl
+  + + + + + + + + + + +
+Constructor Summary
CallbackReferenceImpl() + +
+          Public constructor for Externalizable serialization/deserialization.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  java.lang.ObjectcreateProxy() + +
+           
+protected  RuntimeWiregetCallbackWire() + +
+           
+protected  java.lang.ObjectgetConvID() + +
+           
+protected  EndpointReferencegetResolvedEndpoint() + +
+           
+ voidinit() + +
+           
+static CallbackReferenceImplnewInstance(java.lang.Class interfaze, + ProxyFactory proxyFactory, + java.util.List<RuntimeWire> wires) + +
+           
+ voidreadExternal(java.io.ObjectInput in) + +
+          
+ voidwriteExternal(java.io.ObjectOutput out) + +
+          
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.core.context.CallableReferenceImpl
attachCallbackID, attachConversation, attachConversation, attachConversationID, bind, getBusinessInterface, getCallbackID, getConversation, getEndpointReference, getProxy, getReferenceParameters, getRuntimeWire, getService, getXMLReader, initCallbackID, isConversational, resolveComponentURI, resolveServiceURI, setProxy, toXMLString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallbackReferenceImpl

+
+public CallbackReferenceImpl()
+
+
Public constructor for Externalizable serialization/deserialization. +

+

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

+newInstance

+
+public static CallbackReferenceImpl newInstance(java.lang.Class interfaze,
+                                                ProxyFactory proxyFactory,
+                                                java.util.List<RuntimeWire> wires)
+
+
+
+
+
+
+ +

+init

+
+public void init()
+
+
+
+
+
+
+ +

+createProxy

+
+protected java.lang.Object createProxy()
+                                throws java.lang.Exception
+
+
+
Overrides:
createProxy in class CallableReferenceImpl<B>
+
+
+ +
Throws: +
java.lang.Exception
+
+
+
+ +

+getCallbackWire

+
+protected RuntimeWire getCallbackWire()
+
+
+
+
+
+
+ +

+getConvID

+
+protected java.lang.Object getConvID()
+
+
+
+
+
+
+ +

+getResolvedEndpoint

+
+protected EndpointReference getResolvedEndpoint()
+
+
+
+
+
+
+ +

+readExternal

+
+public void readExternal(java.io.ObjectInput in)
+                  throws java.io.IOException,
+                         java.lang.ClassNotFoundException
+
+
+

+

+
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class CallableReferenceImpl<B>
+
+
+ +
Throws: +
java.io.IOException +
java.lang.ClassNotFoundException
See Also:
Externalizable.readExternal(java.io.ObjectInput)
+
+
+
+ +

+writeExternal

+
+public void writeExternal(java.io.ObjectOutput out)
+                   throws java.io.IOException
+
+
+

+

+
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class CallableReferenceImpl<B>
+
+
+ +
Throws: +
java.io.IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.html new file mode 100644 index 0000000000..d06071cd62 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackReferenceObjectFactory.html @@ -0,0 +1,271 @@ + + + + + + +CallbackReferenceObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class CallbackReferenceObjectFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.CallbackReferenceObjectFactory
+
+
+
All Implemented Interfaces:
ObjectFactory<org.osoa.sca.CallableReference<?>>
+
+
+
+
public class CallbackReferenceObjectFactory
extends java.lang.Object
implements ObjectFactory<org.osoa.sca.CallableReference<?>>
+ + +

+Uses a wire to return a CallableReference +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallbackReferenceObjectFactory(java.lang.Class<?> interfaze, + ProxyFactory proxyFactory, + java.util.List<RuntimeWire> wires) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ org.osoa.sca.CallableReference<?>getInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallbackReferenceObjectFactory

+
+public CallbackReferenceObjectFactory(java.lang.Class<?> interfaze,
+                                      ProxyFactory proxyFactory,
+                                      java.util.List<RuntimeWire> wires)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public org.osoa.sca.CallableReference<?> getInstance()
+                                              throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<org.osoa.sca.CallableReference<?>>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.html new file mode 100644 index 0000000000..cb17f690fe --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CallbackWireObjectFactory.html @@ -0,0 +1,271 @@ + + + + + + +CallbackWireObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class CallbackWireObjectFactory<B>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory<B>
+
+
+
All Implemented Interfaces:
ObjectFactory<B>
+
+
+
+
public class CallbackWireObjectFactory<B>
extends java.lang.Object
implements ObjectFactory<B>
+ + +

+Returns proxy instance for a wire callback +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallbackWireObjectFactory(java.lang.Class<B> interfaze, + ProxyFactory proxyFactory, + java.util.List<RuntimeWire> wires) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ BgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallbackWireObjectFactory

+
+public CallbackWireObjectFactory(java.lang.Class<B> interfaze,
+                                 ProxyFactory proxyFactory,
+                                 java.util.List<RuntimeWire> wires)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public B getInstance()
+              throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<B>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.html new file mode 100644 index 0000000000..f32813b12b --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/CglibProxyFactory.html @@ -0,0 +1,452 @@ + + + + + + +CglibProxyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class CglibProxyFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.CglibProxyFactory
+
+
+
All Implemented Interfaces:
ProxyFactory
+
+
+
+
public class CglibProxyFactory
extends java.lang.Object
implements ProxyFactory
+ + +

+The implementation of a wire service that uses cglib dynamic proxies +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CglibProxyFactory(MessageFactory messageFactory, + InterfaceContractMapper mapper) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<B,R extends org.osoa.sca.CallableReference<B>> +
+R
+
cast(B target) + +
+          Cast a proxy to a CallableReference.
+ + + + + +
+<T> T
+
createCallbackProxy(CallbackReferenceImpl<T> callbackReference) + +
+          create the callback proxy with cglib.
+ + + + + +
+<T> T
+
createCallbackProxy(java.lang.Class<T> interfaze, + java.util.List<RuntimeWire> wires) + +
+          create the callback proxy with cglib.
+ + + + + +
+<T> T
+
createProxy(org.osoa.sca.CallableReference<T> callableReference) + +
+          create the proxy with cglib.
+ + + + + +
+<T> T
+
createProxy(java.lang.Class<T> interfaze, + RuntimeWire wire) + +
+          Creates a Java proxy for the given wire
+ booleanisProxyClass(java.lang.Class<?> clazz) + +
+          Test if a given class is a generated proxy class by this factory
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CglibProxyFactory

+
+public CglibProxyFactory(MessageFactory messageFactory,
+                         InterfaceContractMapper mapper)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createProxy

+
+public <T> T createProxy(java.lang.Class<T> interfaze,
+                         RuntimeWire wire)
+              throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the given wire +

+

+
Specified by:
createProxy in interface ProxyFactory
+
+
+
Parameters:
interfaze - the interface the proxy implements
wire - the wire to proxy +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createProxy

+
+public <T> T createProxy(org.osoa.sca.CallableReference<T> callableReference)
+              throws ProxyCreationException
+
+
create the proxy with cglib. use the same JDKInvocationHandler as + JDKProxyService. +

+

+
Specified by:
createProxy in interface ProxyFactory
+
+
+
Parameters:
callableReference - The CallableReference +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createCallbackProxy

+
+public <T> T createCallbackProxy(java.lang.Class<T> interfaze,
+                                 java.util.List<RuntimeWire> wires)
+                      throws ProxyCreationException
+
+
create the callback proxy with cglib. use the same + JDKCallbackInvocationHandler as JDKProxyService. +

+

+
Specified by:
createCallbackProxy in interface ProxyFactory
+
+
+
Parameters:
interfaze - the interface the proxy should implement +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createCallbackProxy

+
+public <T> T createCallbackProxy(CallbackReferenceImpl<T> callbackReference)
+                      throws ProxyCreationException
+
+
create the callback proxy with cglib. use the same + JDKCallbackInvocationHandler as JDKProxyService. +

+

+
Specified by:
createCallbackProxy in interface ProxyFactory
+
+
+ +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+cast

+
+public <B,R extends org.osoa.sca.CallableReference<B>> R cast(B target)
+                                                 throws java.lang.IllegalArgumentException
+
+
Description copied from interface: ProxyFactory
+
Cast a proxy to a CallableReference. +

+

+
Specified by:
cast in interface ProxyFactory
+
+
+
Parameters:
target - a proxy generated by this implementation +
Returns:
a CallableReference (or subclass) equivalent to this proxy +
Throws: +
java.lang.IllegalArgumentException - if the object supplied is not a proxy
+
+
+
+ +

+isProxyClass

+
+public boolean isProxyClass(java.lang.Class<?> clazz)
+
+
Description copied from interface: ProxyFactory
+
Test if a given class is a generated proxy class by this factory +

+

+
Specified by:
isProxyClass in interface ProxyFactory
+
+
+
Parameters:
clazz - A java class or interface +
Returns:
true if the class is a generated proxy class by this factory
See Also:
ProxyFactory.isProxyClass(java.lang.Class)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/DefaultProxyFactoryExtensionPoint.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/DefaultProxyFactoryExtensionPoint.html new file mode 100644 index 0000000000..a26d06f757 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/DefaultProxyFactoryExtensionPoint.html @@ -0,0 +1,356 @@ + + + + + + +DefaultProxyFactoryExtensionPoint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class DefaultProxyFactoryExtensionPoint

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.DefaultProxyFactoryExtensionPoint
+
+
+
All Implemented Interfaces:
ProxyFactoryExtensionPoint
+
+
+
+
public class DefaultProxyFactoryExtensionPoint
extends java.lang.Object
implements ProxyFactoryExtensionPoint
+ + +

+Default implementation of a ProxyFactoryExtensionPoint. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
DefaultProxyFactoryExtensionPoint(ExtensionPointRegistry extensionPoints) + +
+           
DefaultProxyFactoryExtensionPoint(MessageFactory messageFactory, + InterfaceContractMapper mapper) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ProxyFactorygetClassProxyFactory() + +
+          Get the proxy factory for java classes
+ ProxyFactorygetInterfaceProxyFactory() + +
+          Get the proxy factory for java interfaces
+ voidsetClassProxyFactory(ProxyFactory factory) + +
+          Set the proxy factory for java classes
+ voidsetInterfaceProxyFactory(ProxyFactory factory) + +
+          Set the proxy factory for java interfaces
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultProxyFactoryExtensionPoint

+
+public DefaultProxyFactoryExtensionPoint(ExtensionPointRegistry extensionPoints)
+
+
+
+ +

+DefaultProxyFactoryExtensionPoint

+
+public DefaultProxyFactoryExtensionPoint(MessageFactory messageFactory,
+                                         InterfaceContractMapper mapper)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getClassProxyFactory

+
+public ProxyFactory getClassProxyFactory()
+
+
Description copied from interface: ProxyFactoryExtensionPoint
+
Get the proxy factory for java classes +

+

+
Specified by:
getClassProxyFactory in interface ProxyFactoryExtensionPoint
+
+
+ +
Returns:
+
+
+
+ +

+getInterfaceProxyFactory

+
+public ProxyFactory getInterfaceProxyFactory()
+
+
Description copied from interface: ProxyFactoryExtensionPoint
+
Get the proxy factory for java interfaces +

+

+
Specified by:
getInterfaceProxyFactory in interface ProxyFactoryExtensionPoint
+
+
+ +
Returns:
+
+
+
+ +

+setClassProxyFactory

+
+public void setClassProxyFactory(ProxyFactory factory)
+
+
Description copied from interface: ProxyFactoryExtensionPoint
+
Set the proxy factory for java classes +

+

+
Specified by:
setClassProxyFactory in interface ProxyFactoryExtensionPoint
+
+
+
+
+
+
+ +

+setInterfaceProxyFactory

+
+public void setInterfaceProxyFactory(ProxyFactory factory)
+
+
Description copied from interface: ProxyFactoryExtensionPoint
+
Set the proxy factory for java interfaces +

+

+
Specified by:
setInterfaceProxyFactory in interface ProxyFactoryExtensionPoint
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.html new file mode 100644 index 0000000000..c863d3c845 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.html @@ -0,0 +1,452 @@ + + + + + + +ExtensibleProxyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class ExtensibleProxyFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory
+
+
+
All Implemented Interfaces:
ProxyFactory
+
+
+
+
public class ExtensibleProxyFactory
extends java.lang.Object
implements ProxyFactory
+ + +

+An extensible proxy factory. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ExtensibleProxyFactory(ProxyFactoryExtensionPoint proxyFactories) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<B,R extends org.osoa.sca.CallableReference<B>> +
+R
+
cast(B target) + +
+          Cast a proxy to a CallableReference.
+ + + + + +
+<T> T
+
createCallbackProxy(CallbackReferenceImpl<T> callbackReference) + +
+          Creates a Java proxy for the given callback reference
+ + + + + +
+<T> T
+
createCallbackProxy(java.lang.Class<T> interfaze, + java.util.List<RuntimeWire> wires) + +
+          Creates a Java proxy for the service contract callback
+ + + + + +
+<T> T
+
createProxy(org.osoa.sca.CallableReference<T> callableReference) + +
+          Creates a Java proxy for the given CallableReference
+ + + + + +
+<T> T
+
createProxy(java.lang.Class<T> interfaze, + RuntimeWire wire) + +
+          Creates a Java proxy for the given wire
+ booleanisProxyClass(java.lang.Class<?> clazz) + +
+          Test if a given class is a generated proxy class by this factory
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ExtensibleProxyFactory

+
+public ExtensibleProxyFactory(ProxyFactoryExtensionPoint proxyFactories)
+
+
+ + + + + + + + +
+Method Detail
+ +

+cast

+
+public <B,R extends org.osoa.sca.CallableReference<B>> R cast(B target)
+                                                 throws java.lang.IllegalArgumentException
+
+
Description copied from interface: ProxyFactory
+
Cast a proxy to a CallableReference. +

+

+
Specified by:
cast in interface ProxyFactory
+
+
+
Parameters:
target - a proxy generated by this implementation +
Returns:
a CallableReference (or subclass) equivalent to this proxy +
Throws: +
java.lang.IllegalArgumentException - if the object supplied is not a proxy
See Also:
ProxyFactory.cast(java.lang.Object)
+
+
+
+ +

+createCallbackProxy

+
+public <T> T createCallbackProxy(java.lang.Class<T> interfaze,
+                                 java.util.List<RuntimeWire> wires)
+                      throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the service contract callback +

+

+
Specified by:
createCallbackProxy in interface ProxyFactory
+
+
+
Parameters:
interfaze - the interface the proxy should implement +
Returns:
the proxy +
Throws: +
ProxyCreationException
See Also:
ProxyFactory.createCallbackProxy(java.lang.Class, + java.util.List)
+
+
+
+ +

+createProxy

+
+public <T> T createProxy(org.osoa.sca.CallableReference<T> callableReference)
+              throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the given CallableReference +

+

+
Specified by:
createProxy in interface ProxyFactory
+
+
+
Parameters:
callableReference - The CallableReference +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createCallbackProxy

+
+public <T> T createCallbackProxy(CallbackReferenceImpl<T> callbackReference)
+                      throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the given callback reference +

+

+
Specified by:
createCallbackProxy in interface ProxyFactory
+
+
+ +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createProxy

+
+public <T> T createProxy(java.lang.Class<T> interfaze,
+                         RuntimeWire wire)
+              throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the given wire +

+

+
Specified by:
createProxy in interface ProxyFactory
+
+
+
Parameters:
interfaze - the interface the proxy implements
wire - the wire to proxy +
Returns:
the proxy +
Throws: +
ProxyCreationException
See Also:
ProxyFactory.createProxy(java.lang.Class, + org.apache.tuscany.sca.runtime.RuntimeWire)
+
+
+
+ +

+isProxyClass

+
+public boolean isProxyClass(java.lang.Class<?> clazz)
+
+
Description copied from interface: ProxyFactory
+
Test if a given class is a generated proxy class by this factory +

+

+
Specified by:
isProxyClass in interface ProxyFactory
+
+
+
Parameters:
clazz - A java class or interface +
Returns:
true if the class is a generated proxy class by this factory
See Also:
ProxyFactory.isProxyClass(java.lang.Class)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleWireProcessor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleWireProcessor.html new file mode 100644 index 0000000000..df0603a183 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ExtensibleWireProcessor.html @@ -0,0 +1,263 @@ + + + + + + +ExtensibleWireProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class ExtensibleWireProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.ExtensibleWireProcessor
+
+
+
All Implemented Interfaces:
RuntimeWireProcessor
+
+
+
+
public class ExtensibleWireProcessor
extends java.lang.Object
implements RuntimeWireProcessor
+ + +

+The default implementation of an extensible WireProcessor +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ExtensibleWireProcessor(RuntimeWireProcessorExtensionPoint processors) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess(RuntimeWire wire) + +
+          Process the runtime wire to add interceptors
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ExtensibleWireProcessor

+
+public ExtensibleWireProcessor(RuntimeWireProcessorExtensionPoint processors)
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(RuntimeWire wire)
+
+
Description copied from interface: RuntimeWireProcessor
+
Process the runtime wire to add interceptors +

+

+
Specified by:
process in interface RuntimeWireProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.html new file mode 100644 index 0000000000..3f95ae6675 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/InvocationChainImpl.html @@ -0,0 +1,543 @@ + + + + + + +InvocationChainImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class InvocationChainImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.InvocationChainImpl
+
+
+
All Implemented Interfaces:
InvocationChain
+
+
+
+
public class InvocationChainImpl
extends java.lang.Object
implements InvocationChain
+ + +

+Default implementation of an invocation chain +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
InvocationChainImpl(Operation sourceOperation, + Operation targetOperation, + boolean forReference) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddInterceptor(Interceptor interceptor) + +
+          Adds an interceptor to the chain.
+ voidaddInterceptor(int index, + Interceptor interceptor) + +
+           
+ voidaddInterceptor(java.lang.String phase, + Interceptor interceptor) + +
+          Add an interceptor to the given phase
+ voidaddInvoker(Invoker invoker) + +
+          Adds an invoker to the chain
+ booleanallowsPassByReference() + +
+          Indicate if the data can be passed in by reference as they won't be mutated.
+ InvokergetHeadInvoker() + +
+          Returns the first invoker in the chain.
+ OperationgetSourceOperation() + +
+          Returns the source operation for this invocation chain.
+ InvokergetTailInvoker() + +
+           
+ OperationgetTargetOperation() + +
+          Returns the target operation for this invocation chain.
+ voidsetAllowsPassByReference(boolean allowsPBR) + +
+          Force the invocation to allow pass-by-reference
+ voidsetSourceOperation(Operation sourceOperation) + +
+           
+ voidsetTargetOperation(Operation operation) + +
+          Updates the target operation for this invocation chain.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InvocationChainImpl

+
+public InvocationChainImpl(Operation sourceOperation,
+                           Operation targetOperation,
+                           boolean forReference)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTargetOperation

+
+public Operation getTargetOperation()
+
+
Description copied from interface: InvocationChain
+
Returns the target operation for this invocation chain. +

+

+
Specified by:
getTargetOperation in interface InvocationChain
+
+
+ +
Returns:
The target operation for this invocation chain
+
+
+
+ +

+setTargetOperation

+
+public void setTargetOperation(Operation operation)
+
+
Description copied from interface: InvocationChain
+
Updates the target operation for this invocation chain. +

+

+
Specified by:
setTargetOperation in interface InvocationChain
+
+
+
Parameters:
operation - The new target operation for this invocation chain
+
+
+
+ +

+addInterceptor

+
+public void addInterceptor(Interceptor interceptor)
+
+
Description copied from interface: InvocationChain
+
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 +

+

+
Specified by:
addInterceptor in interface InvocationChain
+
+
+
Parameters:
interceptor - The interceptor to add
+
+
+
+ +

+addInvoker

+
+public void addInvoker(Invoker invoker)
+
+
Description copied from interface: InvocationChain
+
Adds an invoker to the chain +

+

+
Specified by:
addInvoker in interface InvocationChain
+
+
+
Parameters:
invoker - The invoker to add
+
+
+
+ +

+getHeadInvoker

+
+public Invoker getHeadInvoker()
+
+
Description copied from interface: InvocationChain
+
Returns the first invoker in the chain. +

+

+
Specified by:
getHeadInvoker in interface InvocationChain
+
+
+ +
Returns:
The first invoker in the chain
+
+
+
+ +

+getTailInvoker

+
+public Invoker getTailInvoker()
+
+
+
Specified by:
getTailInvoker in interface InvocationChain
+
+
+ +
Returns:
The last invoker in the chain
+
+
+
+ +

+getSourceOperation

+
+public Operation getSourceOperation()
+
+
Description copied from interface: InvocationChain
+
Returns the source operation for this invocation chain. +

+

+
Specified by:
getSourceOperation in interface InvocationChain
+
+
+ +
Returns:
the sourceOperation
+
+
+
+ +

+setSourceOperation

+
+public void setSourceOperation(Operation sourceOperation)
+
+
+
+
+
+
Parameters:
sourceOperation - the sourceOperation to set
+
+
+
+ +

+addInterceptor

+
+public void addInterceptor(int index,
+                           Interceptor interceptor)
+
+
+
Specified by:
addInterceptor in interface InvocationChain
+
+
+
Parameters:
index - The position in the interceptor stack to add the interceptor
interceptor - The interceptor to add
+
+
+
+ +

+addInterceptor

+
+public void addInterceptor(java.lang.String phase,
+                           Interceptor interceptor)
+
+
Description copied from interface: InvocationChain
+
Add an interceptor to the given phase +

+

+
Specified by:
addInterceptor in interface InvocationChain
+
+
+
+
+
+
+ +

+allowsPassByReference

+
+public boolean allowsPassByReference()
+
+
Description copied from interface: InvocationChain
+
Indicate if the data can be passed in by reference as they won't be mutated. +

+

+
Specified by:
allowsPassByReference in interface InvocationChain
+
+
+ +
Returns:
true if pass-by-reference is allowed
+
+
+
+ +

+setAllowsPassByReference

+
+public void setAllowsPassByReference(boolean allowsPBR)
+
+
Description copied from interface: InvocationChain
+
Force the invocation to allow pass-by-reference +

+

+
Specified by:
setAllowsPassByReference in interface InvocationChain
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKCallbackInvocationHandler.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKCallbackInvocationHandler.html new file mode 100644 index 0000000000..68bdf88330 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKCallbackInvocationHandler.html @@ -0,0 +1,300 @@ + + + + + + +JDKCallbackInvocationHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class JDKCallbackInvocationHandler

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.JDKInvocationHandler
+      extended by org.apache.tuscany.sca.core.invocation.JDKCallbackInvocationHandler
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler
+
+
+
+
public class JDKCallbackInvocationHandler
extends JDKInvocationHandler
+ + +

+Responsible for dispatching to a callback through a wire.

TODO cache + target invoker +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.tuscany.sca.core.invocation.JDKInvocationHandler
businessInterface, callableReference, chains, conversation, conversational, fixedWire, messageFactory, source, target, wire
+  + + + + + + + + + + +
+Constructor Summary
JDKCallbackInvocationHandler(MessageFactory messageFactory, + CallbackReferenceImpl ref) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.Objectinvoke(java.lang.Object proxy, + java.lang.reflect.Method method, + java.lang.Object[] args) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.tuscany.sca.core.invocation.JDKInvocationHandler
getCallableReference, getCallbackID, getCallbackObject, getConversationID, getInvocationChain, init, initConversational, invoke, invokeObjectMethod, setCallableReference, setEndpoint
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDKCallbackInvocationHandler

+
+public JDKCallbackInvocationHandler(MessageFactory messageFactory,
+                                    CallbackReferenceImpl ref)
+
+
+ + + + + + + + +
+Method Detail
+ +

+invoke

+
+public java.lang.Object invoke(java.lang.Object proxy,
+                               java.lang.reflect.Method method,
+                               java.lang.Object[] args)
+                        throws java.lang.Throwable
+
+
+
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Overrides:
invoke in class JDKInvocationHandler
+
+
+ +
Throws: +
java.lang.Throwable
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.html new file mode 100644 index 0000000000..08314683c1 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKInvocationHandler.html @@ -0,0 +1,747 @@ + + + + + + +JDKInvocationHandler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class JDKInvocationHandler

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.JDKInvocationHandler
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler
+
+
+
Direct Known Subclasses:
JDKCallbackInvocationHandler
+
+
+
+
public class JDKInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.lang.Class<?>businessInterface + +
+           
+protected  org.osoa.sca.CallableReference<?>callableReference + +
+           
+protected  java.util.Map<java.lang.reflect.Method,InvocationChain>chains + +
+           
+protected  ExtendedConversationconversation + +
+           
+protected  booleanconversational + +
+           
+protected  booleanfixedWire + +
+           
+protected  MessageFactorymessageFactory + +
+           
+protected  EndpointReferencesource + +
+           
+protected  EndpointReferencetarget + +
+           
+protected  RuntimeWirewire + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
JDKInvocationHandler(MessageFactory messageFactory, + org.osoa.sca.CallableReference<?> callableReference) + +
+           
JDKInvocationHandler(MessageFactory messageFactory, + java.lang.Class<?> businessInterface, + RuntimeWire wire) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.osoa.sca.CallableReference<?>getCallableReference() + +
+           
+protected  java.lang.ObjectgetCallbackID() + +
+           
+protected  java.lang.ObjectgetCallbackObject() + +
+           
+protected  java.lang.ObjectgetConversationID() + +
+           
+protected  InvocationChaingetInvocationChain(java.lang.reflect.Method method, + RuntimeWire wire) + +
+           
+protected  voidinit(RuntimeWire wire) + +
+           
+protected  voidinitConversational(RuntimeWire wire) + +
+           
+protected  java.lang.Objectinvoke(InvocationChain chain, + java.lang.Object[] args, + RuntimeWire wire, + EndpointReference source) + +
+           
+ java.lang.Objectinvoke(java.lang.Object proxy, + java.lang.reflect.Method method, + java.lang.Object[] args) + +
+           
+protected  java.lang.ObjectinvokeObjectMethod(java.lang.reflect.Method method, + java.lang.Object[] args) + +
+          Handle the methods on the Object.class
+ voidsetCallableReference(org.osoa.sca.CallableReference<?> callableReference) + +
+           
+protected  voidsetEndpoint(EndpointReference endpoint) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+conversational

+
+protected boolean conversational
+
+
+
+
+
+ +

+conversation

+
+protected ExtendedConversation conversation
+
+
+
+
+
+ +

+messageFactory

+
+protected MessageFactory messageFactory
+
+
+
+
+
+ +

+source

+
+protected EndpointReference source
+
+
+
+
+
+ +

+target

+
+protected EndpointReference target
+
+
+
+
+
+ +

+wire

+
+protected RuntimeWire wire
+
+
+
+
+
+ +

+callableReference

+
+protected org.osoa.sca.CallableReference<?> callableReference
+
+
+
+
+
+ +

+businessInterface

+
+protected java.lang.Class<?> businessInterface
+
+
+
+
+
+ +

+fixedWire

+
+protected boolean fixedWire
+
+
+
+
+
+ +

+chains

+
+protected transient java.util.Map<java.lang.reflect.Method,InvocationChain> chains
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JDKInvocationHandler

+
+public JDKInvocationHandler(MessageFactory messageFactory,
+                            java.lang.Class<?> businessInterface,
+                            RuntimeWire wire)
+
+
+
+ +

+JDKInvocationHandler

+
+public JDKInvocationHandler(MessageFactory messageFactory,
+                            org.osoa.sca.CallableReference<?> callableReference)
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+protected void init(RuntimeWire wire)
+
+
+
+
+
+
+
+
+
+ +

+initConversational

+
+protected void initConversational(RuntimeWire wire)
+
+
+
+
+
+
+
+
+
+ +

+getCallbackID

+
+protected java.lang.Object getCallbackID()
+
+
+
+
+
+
+
+
+
+ +

+getConversationID

+
+protected java.lang.Object getConversationID()
+
+
+
+
+
+
+
+
+
+ +

+getCallbackObject

+
+protected java.lang.Object getCallbackObject()
+
+
+
+
+
+
+
+
+
+ +

+invoke

+
+public java.lang.Object invoke(java.lang.Object proxy,
+                               java.lang.reflect.Method method,
+                               java.lang.Object[] args)
+                        throws java.lang.Throwable
+
+
+
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
+
+
+ +
Throws: +
java.lang.Throwable
+
+
+
+ +

+invokeObjectMethod

+
+protected java.lang.Object invokeObjectMethod(java.lang.reflect.Method method,
+                                              java.lang.Object[] args)
+                                       throws java.lang.Throwable
+
+
Handle the methods on the Object.class +

+

+
+
+
+
Parameters:
method -
args - +
Throws: +
java.lang.Throwable
+
+
+
+ +

+getInvocationChain

+
+protected InvocationChain getInvocationChain(java.lang.reflect.Method method,
+                                             RuntimeWire wire)
+
+
+
+
+
+
+
+
+
+ +

+setEndpoint

+
+protected void setEndpoint(EndpointReference endpoint)
+
+
+
+
+
+
+
+
+
+ +

+invoke

+
+protected java.lang.Object invoke(InvocationChain chain,
+                                  java.lang.Object[] args,
+                                  RuntimeWire wire,
+                                  EndpointReference source)
+                           throws java.lang.Throwable
+
+
+
+
+
+ +
Throws: +
java.lang.Throwable
+
+
+
+ +

+getCallableReference

+
+public org.osoa.sca.CallableReference<?> getCallableReference()
+
+
+
+
+
+ +
Returns:
the callableReference
+
+
+
+ +

+setCallableReference

+
+public void setCallableReference(org.osoa.sca.CallableReference<?> callableReference)
+
+
+
+
+
+
Parameters:
callableReference - the callableReference to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKProxyFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKProxyFactory.html new file mode 100644 index 0000000000..0f7da6c7a2 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/JDKProxyFactory.html @@ -0,0 +1,489 @@ + + + + + + +JDKProxyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class JDKProxyFactory

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.JDKProxyFactory
+
+
+
All Implemented Interfaces:
ProxyFactory
+
+
+
+
public class JDKProxyFactory
extends java.lang.Object
implements ProxyFactory
+ + +

+the default implementation of a wire service that uses JDK dynamic proxies +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+protected  InterfaceContractMappercontractMapper + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JDKProxyFactory(MessageFactory messageFactory, + InterfaceContractMapper mapper) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<B,R extends org.osoa.sca.CallableReference<B>> +
+R
+
cast(B target) + +
+          Cast a proxy to a CallableReference.
+ + + + + +
+<T> T
+
createCallbackProxy(CallbackReferenceImpl<T> callbackReference) + +
+          Creates a Java proxy for the given callback reference
+ + + + + +
+<T> T
+
createCallbackProxy(java.lang.Class<T> interfaze, + java.util.List<RuntimeWire> wires) + +
+          Creates a Java proxy for the service contract callback
+ + + + + +
+<T> T
+
createProxy(org.osoa.sca.CallableReference<T> callableReference) + +
+          Creates a Java proxy for the given CallableReference
+ + + + + +
+<T> T
+
createProxy(java.lang.Class<T> interfaze, + RuntimeWire wire) + +
+          The original createProxy method assumes that the proxy doesn't want to + share conversation state so sets the conversation object to null
+ booleanisProxyClass(java.lang.Class<?> clazz) + +
+          Test if a given class is a generated proxy class by this factory
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+contractMapper

+
+protected InterfaceContractMapper contractMapper
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JDKProxyFactory

+
+public JDKProxyFactory(MessageFactory messageFactory,
+                       InterfaceContractMapper mapper)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createProxy

+
+public <T> T createProxy(java.lang.Class<T> interfaze,
+                         RuntimeWire wire)
+              throws ProxyCreationException
+
+
The original createProxy method assumes that the proxy doesn't want to + share conversation state so sets the conversation object to null +

+

+
Specified by:
createProxy in interface ProxyFactory
+
+
+
Parameters:
interfaze - the interface the proxy implements
wire - the wire to proxy +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createProxy

+
+public <T> T createProxy(org.osoa.sca.CallableReference<T> callableReference)
+              throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the given CallableReference +

+

+
Specified by:
createProxy in interface ProxyFactory
+
+
+
Parameters:
callableReference - The CallableReference +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createCallbackProxy

+
+public <T> T createCallbackProxy(java.lang.Class<T> interfaze,
+                                 java.util.List<RuntimeWire> wires)
+                      throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the service contract callback +

+

+
Specified by:
createCallbackProxy in interface ProxyFactory
+
+
+
Parameters:
interfaze - the interface the proxy should implement +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createCallbackProxy

+
+public <T> T createCallbackProxy(CallbackReferenceImpl<T> callbackReference)
+                      throws ProxyCreationException
+
+
Description copied from interface: ProxyFactory
+
Creates a Java proxy for the given callback reference +

+

+
Specified by:
createCallbackProxy in interface ProxyFactory
+
+
+ +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+cast

+
+public <B,R extends org.osoa.sca.CallableReference<B>> R cast(B target)
+                                                 throws java.lang.IllegalArgumentException
+
+
Description copied from interface: ProxyFactory
+
Cast a proxy to a CallableReference. +

+

+
Specified by:
cast in interface ProxyFactory
+
+
+
Parameters:
target - a proxy generated by this implementation +
Returns:
a CallableReference (or subclass) equivalent to this proxy +
Throws: +
java.lang.IllegalArgumentException - if the object supplied is not a proxy
+
+
+
+ +

+isProxyClass

+
+public boolean isProxyClass(java.lang.Class<?> clazz)
+
+
Description copied from interface: ProxyFactory
+
Test if a given class is a generated proxy class by this factory +

+

+
Specified by:
isProxyClass in interface ProxyFactory
+
+
+
Parameters:
clazz - A java class or interface +
Returns:
true if the class is a generated proxy class by this factory
See Also:
ProxyFactory.isProxyClass(java.lang.Class)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageFactoryImpl.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageFactoryImpl.html new file mode 100644 index 0000000000..a12638807a --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageFactoryImpl.html @@ -0,0 +1,264 @@ + + + + + + +MessageFactoryImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class MessageFactoryImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.MessageFactoryImpl
+
+
+
All Implemented Interfaces:
MessageFactory
+
+
+
+
public class MessageFactoryImpl
extends java.lang.Object
implements MessageFactory
+ + +

+Implementation of MessageFactory. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MessageFactoryImpl() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ MessagecreateMessage() + +
+          Creates a new message.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MessageFactoryImpl

+
+public MessageFactoryImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createMessage

+
+public Message createMessage()
+
+
Description copied from interface: MessageFactory
+
Creates a new message. +

+

+
Specified by:
createMessage in interface MessageFactory
+
+
+ +
Returns:
The new message
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageImpl.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageImpl.html new file mode 100644 index 0000000000..88130ef055 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/MessageImpl.html @@ -0,0 +1,648 @@ + + + + + + +MessageImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class MessageImpl

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.MessageImpl
+
+
+
All Implemented Interfaces:
Message
+
+
+
+
public class MessageImpl
extends java.lang.Object
implements Message
+ + +

+The default implementation of a message flowed through a wire during an invocation +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MessageImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<T> T
+
getBindingContext() + +
+          Returns the binding context in force for this message
+ + + + + +
+<T> T
+
getBody() + +
+          Returns the body of the message, which will be the payload or parameters associated with the wire
+ EndpointReferencegetFrom() + +
+          Get the end point reference of the source reference
+ java.util.List<java.lang.Object>getHeaders() + +
+          Returns a list of objects that are contained in the message header
+ java.lang.ObjectgetMessageID() + +
+          Returns the id of the message
+ OperationgetOperation() + +
+          Returns the operation that created the message.
+ EndpointReferencegetTo() + +
+          Get the end point reference of target service
+ booleanisFault() + +
+          Determines if the message represents a fault/exception
+ + + + + +
+<T> void
+
setBindingContext(T bindingContext) + +
+          Set the binding context that is in force for this message
+ + + + + +
+<T> void
+
setBody(T body) + +
+          Sets the body of the message.
+ voidsetFaultBody(java.lang.Object fault) + +
+          Set the message body with a fault object.
+ voidsetFrom(EndpointReference from) + +
+          Set the end point reference of the reference originating the message
+ voidsetMessageID(java.lang.Object messageId) + +
+          Sets the id of the message
+ voidsetOperation(Operation op) + +
+          Sets the operation that created the message.
+ voidsetTo(EndpointReference to) + +
+          Set the end point reference of target service
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MessageImpl

+
+public MessageImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBody

+
+public <T> T getBody()
+
+
Description copied from interface: Message
+
Returns the body of the message, which will be the payload or parameters associated with the wire +

+

+
Specified by:
getBody in interface Message
+
+
+ +
Returns:
The body of the message
+
+
+
+ +

+setBody

+
+public <T> void setBody(T body)
+
+
Description copied from interface: Message
+
Sets the body of the message. +

+

+
Specified by:
setBody in interface Message
+
+
+
Parameters:
body - The body of the message
+
+
+
+ +

+getMessageID

+
+public java.lang.Object getMessageID()
+
+
Description copied from interface: Message
+
Returns the id of the message +

+

+
Specified by:
getMessageID in interface Message
+
+
+ +
Returns:
The message Id
+
+
+
+ +

+setMessageID

+
+public void setMessageID(java.lang.Object messageId)
+
+
Description copied from interface: Message
+
Sets the id of the message +

+

+
Specified by:
setMessageID in interface Message
+
+
+
Parameters:
messageId - The message ID
+
+
+
+ +

+isFault

+
+public boolean isFault()
+
+
Description copied from interface: Message
+
Determines if the message represents a fault/exception +

+

+
Specified by:
isFault in interface Message
+
+
+ +
Returns:
true If the message body is a fault object, false if the body is a normal payload
+
+
+
+ +

+setFaultBody

+
+public void setFaultBody(java.lang.Object fault)
+
+
Description copied from interface: Message
+
Set the message body with a fault object. After this method is called, isFault() returns true. +

+

+
Specified by:
setFaultBody in interface Message
+
+
+
Parameters:
fault - The fault object represents an exception
+
+
+
+ +

+getFrom

+
+public EndpointReference getFrom()
+
+
Description copied from interface: Message
+
Get the end point reference of the source reference +

+

+
Specified by:
getFrom in interface Message
+
+
+ +
Returns:
The end point reference of the reference originating the message
+
+
+
+ +

+setFrom

+
+public void setFrom(EndpointReference from)
+
+
Description copied from interface: Message
+
Set the end point reference of the reference originating the message +

+

+
Specified by:
setFrom in interface Message
+
+
+
Parameters:
from - The end point reference of the reference originating the message
+
+
+
+ +

+getTo

+
+public EndpointReference getTo()
+
+
Description copied from interface: Message
+
Get the end point reference of target service +

+

+
Specified by:
getTo in interface Message
+
+
+ +
Returns:
The end point reference of the service that the message targets
+
+
+
+ +

+setTo

+
+public void setTo(EndpointReference to)
+
+
Description copied from interface: Message
+
Set the end point reference of target service +

+

+
Specified by:
setTo in interface Message
+
+
+
Parameters:
to - The end point reference of the service that the message targets
+
+
+
+ +

+getOperation

+
+public Operation getOperation()
+
+
Description copied from interface: Message
+
Returns the operation that created the message. +

+

+
Specified by:
getOperation in interface Message
+
+
+ +
Returns:
The operation that created the message
+
+
+
+ +

+setOperation

+
+public void setOperation(Operation op)
+
+
Description copied from interface: Message
+
Sets the operation that created the message. +

+

+
Specified by:
setOperation in interface Message
+
+
+
Parameters:
op - The operation that created the message
+
+
+
+ +

+getHeaders

+
+public java.util.List<java.lang.Object> getHeaders()
+
+
Description copied from interface: Message
+
Returns a list of objects that are contained in the message header +

+

+
Specified by:
getHeaders in interface Message
+
+
+ +
Returns:
+
+
+
+ +

+getBindingContext

+
+public <T> T getBindingContext()
+
+
Description copied from interface: Message
+
Returns the binding context in force for this message +

+

+
Specified by:
getBindingContext in interface Message
+
+
+
+
+
+
+ +

+setBindingContext

+
+public <T> void setBindingContext(T bindingContext)
+
+
Description copied from interface: Message
+
Set the binding context that is in force for this message +

+

+
Specified by:
setBindingContext in interface Message
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NoMethodForOperationException.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NoMethodForOperationException.html new file mode 100644 index 0000000000..4eb86278b1 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NoMethodForOperationException.html @@ -0,0 +1,289 @@ + + + + + + +NoMethodForOperationException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class NoMethodForOperationException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.tuscany.sca.core.factory.ObjectCreationException
+                  extended by org.apache.tuscany.sca.core.invocation.ProxyCreationException
+                      extended by org.apache.tuscany.sca.core.invocation.NoMethodForOperationException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NoMethodForOperationException
extends ProxyCreationException
+ + +

+Thrown when an org.apache.tuscany.sca.core.factory.model.Operation cannot be mapped to a method on an interface +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
NoMethodForOperationException() + +
+           
NoMethodForOperationException(java.lang.String message) + +
+           
NoMethodForOperationException(java.lang.String message, + java.lang.Throwable cause) + +
+           
NoMethodForOperationException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NoMethodForOperationException

+
+public NoMethodForOperationException()
+
+
+
+ +

+NoMethodForOperationException

+
+public NoMethodForOperationException(java.lang.String message)
+
+
+
+ +

+NoMethodForOperationException

+
+public NoMethodForOperationException(java.lang.String message,
+                                     java.lang.Throwable cause)
+
+
+
+ +

+NoMethodForOperationException

+
+public NoMethodForOperationException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.html new file mode 100644 index 0000000000..c15cfdcd25 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.html @@ -0,0 +1,357 @@ + + + + + + +NonBlockingInterceptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class NonBlockingInterceptor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.NonBlockingInterceptor
+
+
+
All Implemented Interfaces:
Interceptor, Invoker
+
+
+
+
public class NonBlockingInterceptor
extends java.lang.Object
implements Interceptor
+ + +

+Adds non-blocking behavior to an invocation chain +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
NonBlockingInterceptor(WorkScheduler workScheduler) + +
+           
NonBlockingInterceptor(WorkScheduler workScheduler, + Interceptor next) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ InvokergetNext() + +
+          Returns the next invoker or null
+ Messageinvoke(Message msg) + +
+          Process a synchronous wire
+ voidsetNext(Invoker next) + +
+          Sets the next invoker
+ voidsetWorkScheduler(WorkScheduler workScheduler) + +
+          Sets desired workScheduler to NonBlockingInterceptor.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NonBlockingInterceptor

+
+public NonBlockingInterceptor(WorkScheduler workScheduler)
+
+
+
+ +

+NonBlockingInterceptor

+
+public NonBlockingInterceptor(WorkScheduler workScheduler,
+                              Interceptor next)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setWorkScheduler

+
+public void setWorkScheduler(WorkScheduler workScheduler)
+
+
Sets desired workScheduler to NonBlockingInterceptor. This is a useful function for the extension framework + to set desired workmanager on the InvocationChain, other than default workmanager which is set per Tuscany runtime. + Using this function, extension framework can set desired workmanager on InvocationChain during post wire processing. +

+

+
+
+
+
Parameters:
workScheduler - workScheduler which contains workmanager
+
+
+
+ +

+invoke

+
+public Message invoke(Message msg)
+
+
Description copied from interface: Invoker
+
Process a synchronous wire +

+

+
Specified by:
invoke in interface Invoker
+
+
+
Parameters:
msg - The request Message for the wire +
Returns:
The response Message from the wire
+
+
+
+ +

+getNext

+
+public Invoker getNext()
+
+
Description copied from interface: Interceptor
+
Returns the next invoker or null +

+

+
Specified by:
getNext in interface Interceptor
+
+
+ +
Returns:
The next Invoker
+
+
+
+ +

+setNext

+
+public void setNext(Invoker next)
+
+
Description copied from interface: Interceptor
+
Sets the next invoker +

+

+
Specified by:
setNext in interface Interceptor
+
+
+
Parameters:
next - The next invoker
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.Stage.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.Stage.html new file mode 100644 index 0000000000..b3b123aa33 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.Stage.html @@ -0,0 +1,351 @@ + + + + + + +PhaseManager.Stage + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class PhaseManager.Stage

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.PhaseManager.Stage
+
+
+
Enclosing class:
PhaseManager
+
+
+
+
public class PhaseManager.Stage
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PhaseManager.Stage(java.lang.String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.Set<java.lang.String>getFirstSet() + +
+           
+ java.util.Set<java.lang.String>getLastSet() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.util.List<java.lang.String>getPhases() + +
+           
+ PhaseSorter<java.lang.String>getSorter() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PhaseManager.Stage

+
+public PhaseManager.Stage(java.lang.String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+getSorter

+
+public PhaseSorter<java.lang.String> getSorter()
+
+
+
+
+
+
+ +

+getFirstSet

+
+public java.util.Set<java.lang.String> getFirstSet()
+
+
+
+
+
+
+ +

+getLastSet

+
+public java.util.Set<java.lang.String> getLastSet()
+
+
+
+
+
+
+ +

+getPhases

+
+public java.util.List<java.lang.String> getPhases()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.html new file mode 100644 index 0000000000..7fd3616d1e --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseManager.html @@ -0,0 +1,489 @@ + + + + + + +PhaseManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class PhaseManager

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.PhaseManager
+
+
+
+
public class PhaseManager
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+ classPhaseManager.Stage + +
+           
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringSTAGE_IMPLEMENTATION + +
+           
+static java.lang.StringSTAGE_REFERENCE + +
+           
+static java.lang.StringSTAGE_REFERENCE_BINDING + +
+           
+static java.lang.StringSTAGE_SERVICE + +
+           
+static java.lang.StringSTAGE_SERVICE_BINDING + +
+           
+  + + + + + + + + + + +
+Constructor Summary
PhaseManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.List<java.lang.String>getAllPhases() + +
+           
+ java.util.List<java.lang.String>getImplementationPhases() + +
+           
+ java.util.List<java.lang.String>getReferenceBindingPhases() + +
+           
+ java.util.List<java.lang.String>getReferencePhases() + +
+           
+ java.util.List<java.lang.String>getServiceBindingPhases() + +
+           
+ java.util.List<java.lang.String>getServicePhases() + +
+           
+ java.util.Map<java.lang.String,PhaseManager.Stage>getStages() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+STAGE_REFERENCE

+
+public static final java.lang.String STAGE_REFERENCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STAGE_REFERENCE_BINDING

+
+public static final java.lang.String STAGE_REFERENCE_BINDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STAGE_SERVICE_BINDING

+
+public static final java.lang.String STAGE_SERVICE_BINDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STAGE_SERVICE

+
+public static final java.lang.String STAGE_SERVICE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STAGE_IMPLEMENTATION

+
+public static final java.lang.String STAGE_IMPLEMENTATION
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+PhaseManager

+
+public PhaseManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getReferencePhases

+
+public java.util.List<java.lang.String> getReferencePhases()
+
+
+
+
+
+
+ +

+getServicePhases

+
+public java.util.List<java.lang.String> getServicePhases()
+
+
+
+
+
+
+ +

+getReferenceBindingPhases

+
+public java.util.List<java.lang.String> getReferenceBindingPhases()
+
+
+
+
+
+
+ +

+getServiceBindingPhases

+
+public java.util.List<java.lang.String> getServiceBindingPhases()
+
+
+
+
+
+
+ +

+getImplementationPhases

+
+public java.util.List<java.lang.String> getImplementationPhases()
+
+
+
+
+
+
+ +

+getAllPhases

+
+public java.util.List<java.lang.String> getAllPhases()
+
+
+
+
+
+
+ +

+getStages

+
+public java.util.Map<java.lang.String,PhaseManager.Stage> getStages()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Edge.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Edge.html new file mode 100644 index 0000000000..a5d5673ba7 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Edge.html @@ -0,0 +1,338 @@ + + + + + + +PhaseSorter.Edge + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class PhaseSorter.Edge

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.PhaseSorter.Edge
+
+
+
Enclosing class:
PhaseSorter<V>
+
+
+
+
public final class PhaseSorter.Edge
extends java.lang.Object
+ + +

+An Edge connects two vertices in one direction +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PhaseSorter.Edge(PhaseSorter.Vertex source, + PhaseSorter.Vertex target) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ PhaseSorter.VertexgetSourceVertex() + +
+           
+ PhaseSorter.VertexgetTargetVertex() + +
+           
+ voidsetSourceVertex(PhaseSorter.Vertex sourceVertex) + +
+           
+ voidsetTargetVertex(PhaseSorter.Vertex vertex) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PhaseSorter.Edge

+
+public PhaseSorter.Edge(PhaseSorter.Vertex source,
+                        PhaseSorter.Vertex target)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getTargetVertex

+
+public PhaseSorter.Vertex getTargetVertex()
+
+
+
+
+
+
+ +

+setTargetVertex

+
+public void setTargetVertex(PhaseSorter.Vertex vertex)
+
+
+
+
+
+
+ +

+getSourceVertex

+
+public PhaseSorter.Vertex getSourceVertex()
+
+
+
+
+
+
+ +

+setSourceVertex

+
+public void setSourceVertex(PhaseSorter.Vertex sourceVertex)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Vertex.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Vertex.html new file mode 100644 index 0000000000..975893fd7a --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.Vertex.html @@ -0,0 +1,284 @@ + + + + + + +PhaseSorter.Vertex + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class PhaseSorter.Vertex

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.PhaseSorter.Vertex
+
+
+
Enclosing class:
PhaseSorter<V>
+
+
+
+
public final class PhaseSorter.Vertex
extends java.lang.Object
+ + +

+Vertex of a graph +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.Map<PhaseSorter.Vertex,PhaseSorter.Edge>getInEdges() + +
+           
+ java.util.Map<PhaseSorter.Vertex,PhaseSorter.Edge>getOutEdges() + +
+           
+ VgetValue() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getValue

+
+public V getValue()
+
+
+
+
+
+
+ +

+getOutEdges

+
+public java.util.Map<PhaseSorter.Vertex,PhaseSorter.Edge> getOutEdges()
+
+
+
+
+
+
+ +

+getInEdges

+
+public java.util.Map<PhaseSorter.Vertex,PhaseSorter.Edge> getInEdges()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.html new file mode 100644 index 0000000000..3139e0fa17 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/PhaseSorter.html @@ -0,0 +1,559 @@ + + + + + + +PhaseSorter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class PhaseSorter<V>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.PhaseSorter<V>
+
+
+
Type Parameters:
V - The type of vertex object
E - The type of edge object
+
+
All Implemented Interfaces:
java.lang.Cloneable
+
+
+
+
public class PhaseSorter<V>
extends java.lang.Object
implements java.lang.Cloneable
+ + +

+Directed, weighted graph +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+ classPhaseSorter.Edge + +
+          An Edge connects two vertices in one direction
+ classPhaseSorter.Vertex + +
+          Vertex of a graph
+  + + + + + + + + + + +
+Constructor Summary
PhaseSorter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddEdge(V source, + V target) + +
+           
+ voidaddGraph(PhaseSorter<V> otherGraph) + +
+           
+ voidaddVertext(V source) + +
+           
+ java.lang.Objectclone() + +
+           
+ PhaseSorter.EdgegetEdge(PhaseSorter.Vertex source, + PhaseSorter.Vertex target) + +
+           
+ PhaseSorter.EdgegetEdge(V source, + V target) + +
+           
+ PhaseSorter.VertexgetVertex(V source) + +
+           
+ java.util.Map<V,PhaseSorter.Vertex>getVertices() + +
+           
+ voidremoveEdge(PhaseSorter.Edge edge) + +
+           
+ booleanremoveEdge(V source, + V target) + +
+           
+ voidremoveVertex(PhaseSorter.Vertex vertex) + +
+           
+ java.util.List<V>topologicalSort(boolean readOnly) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PhaseSorter

+
+public PhaseSorter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addEdge

+
+public void addEdge(V source,
+                    V target)
+
+
+
+
+
+
+
+
+
+ +

+addVertext

+
+public void addVertext(V source)
+
+
+
+
+
+
+
+
+
+ +

+getVertex

+
+public PhaseSorter.Vertex getVertex(V source)
+
+
+
+
+
+
+
+
+
+ +

+removeEdge

+
+public boolean removeEdge(V source,
+                          V target)
+
+
+
+
+
+
+
+
+
+ +

+removeEdge

+
+public void removeEdge(PhaseSorter.Edge edge)
+
+
+
+
+
+
+
+
+
+ +

+removeVertex

+
+public void removeVertex(PhaseSorter.Vertex vertex)
+
+
+
+
+
+
+
+
+
+ +

+getEdge

+
+public PhaseSorter.Edge getEdge(PhaseSorter.Vertex source,
+                                PhaseSorter.Vertex target)
+
+
+
+
+
+
+
+
+
+ +

+getEdge

+
+public PhaseSorter.Edge getEdge(V source,
+                                V target)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getVertices

+
+public java.util.Map<V,PhaseSorter.Vertex> getVertices()
+
+
+
+
+
+
+
+
+
+ +

+addGraph

+
+public void addGraph(PhaseSorter<V> otherGraph)
+
+
+
+
+
+
+
+
+
+ +

+topologicalSort

+
+public java.util.List<V> topologicalSort(boolean readOnly)
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public java.lang.Object clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyCreationException.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyCreationException.html new file mode 100644 index 0000000000..d73929e5dd --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyCreationException.html @@ -0,0 +1,291 @@ + + + + + + +ProxyCreationException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class ProxyCreationException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.tuscany.sca.core.factory.ObjectCreationException
+                  extended by org.apache.tuscany.sca.core.invocation.ProxyCreationException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
NoMethodForOperationException
+
+
+
+
public class ProxyCreationException
extends ObjectCreationException
+ + +

+Denotes an error creating a proxy +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ProxyCreationException() + +
+           
ProxyCreationException(java.lang.String message) + +
+           
ProxyCreationException(java.lang.String message, + java.lang.Throwable cause) + +
+           
ProxyCreationException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProxyCreationException

+
+public ProxyCreationException()
+
+
+
+ +

+ProxyCreationException

+
+public ProxyCreationException(java.lang.String message,
+                              java.lang.Throwable cause)
+
+
+
+ +

+ProxyCreationException

+
+public ProxyCreationException(java.lang.String message)
+
+
+
+ +

+ProxyCreationException

+
+public ProxyCreationException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactory.html new file mode 100644 index 0000000000..4a3b0cf0e5 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactory.html @@ -0,0 +1,380 @@ + + + + + + +ProxyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Interface ProxyFactory

+
+
All Known Implementing Classes:
CglibProxyFactory, ExtensibleProxyFactory, JDKProxyFactory
+
+
+
+
public interface ProxyFactory
+ + +

+Creates proxies that implement Java interfaces and invocation handlers for fronting wires +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ + + + + +
+<B,R extends org.osoa.sca.CallableReference<B>> +
+R
+
cast(B target) + +
+          Cast a proxy to a CallableReference.
+ + + + + +
+<T> T
+
createCallbackProxy(CallbackReferenceImpl<T> callbackReference) + +
+          Creates a Java proxy for the given callback reference
+ + + + + +
+<T> T
+
createCallbackProxy(java.lang.Class<T> interfaze, + java.util.List<RuntimeWire> wires) + +
+          Creates a Java proxy for the service contract callback
+ + + + + +
+<T> T
+
createProxy(org.osoa.sca.CallableReference<T> callableReference) + +
+          Creates a Java proxy for the given CallableReference
+ + + + + +
+<T> T
+
createProxy(java.lang.Class<T> interfaze, + RuntimeWire wire) + +
+          Creates a Java proxy for the given wire
+ booleanisProxyClass(java.lang.Class<?> clazz) + +
+          Test if a given class is a generated proxy class by this factory
+  +

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

+createProxy

+
+<T> T createProxy(java.lang.Class<T> interfaze,
+                  RuntimeWire wire)
+              throws ProxyCreationException
+
+
Creates a Java proxy for the given wire +

+

+
Parameters:
interfaze - the interface the proxy implements
wire - the wire to proxy +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createProxy

+
+<T> T createProxy(org.osoa.sca.CallableReference<T> callableReference)
+              throws ProxyCreationException
+
+
Creates a Java proxy for the given CallableReference +

+

+
Parameters:
callableReference - The CallableReference +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createCallbackProxy

+
+<T> T createCallbackProxy(java.lang.Class<T> interfaze,
+                          java.util.List<RuntimeWire> wires)
+                      throws ProxyCreationException
+
+
Creates a Java proxy for the service contract callback +

+

+
Parameters:
interfaze - the interface the proxy should implement +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+createCallbackProxy

+
+<T> T createCallbackProxy(CallbackReferenceImpl<T> callbackReference)
+                      throws ProxyCreationException
+
+
Creates a Java proxy for the given callback reference +

+

+
Parameters:
callableReference - The CallableReference +
Returns:
the proxy +
Throws: +
ProxyCreationException
+
+
+
+ +

+cast

+
+<B,R extends org.osoa.sca.CallableReference<B>> R cast(B target)
+                                                 throws java.lang.IllegalArgumentException
+
+
Cast a proxy to a CallableReference. +

+

+
Parameters:
target - a proxy generated by this implementation +
Returns:
a CallableReference (or subclass) equivalent to this proxy +
Throws: +
java.lang.IllegalArgumentException - if the object supplied is not a proxy
+
+
+
+ +

+isProxyClass

+
+boolean isProxyClass(java.lang.Class<?> clazz)
+
+
Test if a given class is a generated proxy class by this factory +

+

+
Parameters:
clazz - A java class or interface +
Returns:
true if the class is a generated proxy class by this factory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.html new file mode 100644 index 0000000000..3772a1c596 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ProxyFactoryExtensionPoint.html @@ -0,0 +1,278 @@ + + + + + + +ProxyFactoryExtensionPoint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Interface ProxyFactoryExtensionPoint

+
+
All Known Implementing Classes:
DefaultProxyFactoryExtensionPoint
+
+
+
+
public interface ProxyFactoryExtensionPoint
+ + +

+The extension point to plug in proxy factories +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ProxyFactorygetClassProxyFactory() + +
+          Get the proxy factory for java classes
+ ProxyFactorygetInterfaceProxyFactory() + +
+          Get the proxy factory for java interfaces
+ voidsetClassProxyFactory(ProxyFactory factory) + +
+          Set the proxy factory for java classes
+ voidsetInterfaceProxyFactory(ProxyFactory factory) + +
+          Set the proxy factory for java interfaces
+  +

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

+getInterfaceProxyFactory

+
+ProxyFactory getInterfaceProxyFactory()
+
+
Get the proxy factory for java interfaces +

+

+ +
Returns:
+
+
+
+ +

+getClassProxyFactory

+
+ProxyFactory getClassProxyFactory()
+
+
Get the proxy factory for java classes +

+

+ +
Returns:
+
+
+
+ +

+setInterfaceProxyFactory

+
+void setInterfaceProxyFactory(ProxyFactory factory)
+
+
Set the proxy factory for java interfaces +

+

+
Parameters:
factory -
+
+
+
+ +

+setClassProxyFactory

+
+void setClassProxyFactory(ProxyFactory factory)
+
+
Set the proxy factory for java classes +

+

+
Parameters:
factory -
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/RuntimeWireInvoker.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/RuntimeWireInvoker.html new file mode 100644 index 0000000000..f546fa9a78 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/RuntimeWireInvoker.html @@ -0,0 +1,555 @@ + + + + + + +RuntimeWireInvoker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class RuntimeWireInvoker

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker
+
+
+
All Implemented Interfaces:
Invoker
+
+
+
+
public class RuntimeWireInvoker
extends java.lang.Object
implements Invoker
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  java.lang.ObjectcallbackID + +
+           
+protected  java.lang.ObjectcallbackObject + +
+           
+protected  ExtendedConversationconversation + +
+           
+protected  booleanconversational + +
+           
+protected  java.lang.ObjectconversationID + +
+           
+protected  ConversationManagerconversationManager + +
+           
+protected  MessageFactorymessageFactory + +
+           
+protected  RuntimeWirewire + +
+           
+  + + + + + + + + + + +
+Constructor Summary
RuntimeWireInvoker(MessageFactory messageFactory, + ConversationManager conversationManager, + RuntimeWire wire) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  EndpointReferencegetCallbackEndpoint(Message msgContext) + +
+           
+protected  voidinit(RuntimeWire wire) + +
+           
+protected  java.lang.Objectinvoke(InvocationChain chain, + Message msg, + RuntimeWire wire) + +
+           
+ Messageinvoke(Message msg) + +
+          Process a synchronous wire
+ java.lang.Objectinvoke(Operation operation, + Message msg) + +
+           
+ java.lang.Objectinvoke(RuntimeWire wire, + Operation operation, + Message msg) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+conversationManager

+
+protected ConversationManager conversationManager
+
+
+
+
+
+ +

+conversational

+
+protected boolean conversational
+
+
+
+
+
+ +

+conversation

+
+protected ExtendedConversation conversation
+
+
+
+
+
+ +

+messageFactory

+
+protected MessageFactory messageFactory
+
+
+
+
+
+ +

+conversationID

+
+protected java.lang.Object conversationID
+
+
+
+
+
+ +

+callbackID

+
+protected java.lang.Object callbackID
+
+
+
+
+
+ +

+callbackObject

+
+protected java.lang.Object callbackObject
+
+
+
+
+
+ +

+wire

+
+protected RuntimeWire wire
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+RuntimeWireInvoker

+
+public RuntimeWireInvoker(MessageFactory messageFactory,
+                          ConversationManager conversationManager,
+                          RuntimeWire wire)
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+protected void init(RuntimeWire wire)
+
+
+
+
+
+
+
+
+
+ +

+invoke

+
+public Message invoke(Message msg)
+
+
Description copied from interface: Invoker
+
Process a synchronous wire +

+

+
Specified by:
invoke in interface Invoker
+
+
+
Parameters:
msg - The request Message for the wire +
Returns:
The response Message from the wire
+
+
+
+ +

+invoke

+
+public java.lang.Object invoke(Operation operation,
+                               Message msg)
+                        throws java.lang.reflect.InvocationTargetException
+
+
+
+
+
+ +
Throws: +
java.lang.reflect.InvocationTargetException
+
+
+
+ +

+invoke

+
+public java.lang.Object invoke(RuntimeWire wire,
+                               Operation operation,
+                               Message msg)
+                        throws java.lang.reflect.InvocationTargetException
+
+
+
+
+
+ +
Throws: +
java.lang.reflect.InvocationTargetException
+
+
+
+ +

+invoke

+
+protected java.lang.Object invoke(InvocationChain chain,
+                                  Message msg,
+                                  RuntimeWire wire)
+                           throws java.lang.reflect.InvocationTargetException
+
+
+
+
+
+ +
Throws: +
java.lang.reflect.InvocationTargetException
+
+
+
+ +

+getCallbackEndpoint

+
+protected EndpointReference getCallbackEndpoint(Message msgContext)
+
+
+
+
+
+
Parameters:
msgContext -
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/SCAProxy.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/SCAProxy.html new file mode 100644 index 0000000000..3cd4c61a3b --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/SCAProxy.html @@ -0,0 +1,292 @@ + + + + + + +SCAProxy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class SCAProxy

+
+java.lang.Object
+  extended by java.lang.reflect.Proxy
+      extended by org.apache.tuscany.sca.core.invocation.SCAProxy
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class SCAProxy
extends java.lang.reflect.Proxy
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.lang.reflect.Proxy
h
+  + + + + + + + + + + + +
+Constructor Summary
+protected SCAProxy(java.lang.reflect.InvocationHandler handler) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static java.lang.ObjectnewProxyInstance(java.lang.ClassLoader classloader, + java.lang.Class[] aclass, + java.lang.reflect.InvocationHandler invocationhandler) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.reflect.Proxy
getInvocationHandler, getProxyClass, isProxyClass
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SCAProxy

+
+protected SCAProxy(java.lang.reflect.InvocationHandler handler)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newProxyInstance

+
+public static java.lang.Object newProxyInstance(java.lang.ClassLoader classloader,
+                                                java.lang.Class[] aclass,
+                                                java.lang.reflect.InvocationHandler invocationhandler)
+                                         throws java.lang.IllegalArgumentException
+
+
+ +
Throws: +
java.lang.IllegalArgumentException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/TargetInvocationException.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/TargetInvocationException.html new file mode 100644 index 0000000000..82d5a9ee96 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/TargetInvocationException.html @@ -0,0 +1,289 @@ + + + + + + +TargetInvocationException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class TargetInvocationException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.tuscany.sca.core.invocation.TargetInvocationException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
InvalidConversationSequenceException
+
+
+
+
public class TargetInvocationException
extends java.lang.Exception
+ + +

+Raised when an error is encountered during a target invocation +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
TargetInvocationException() + +
+           
TargetInvocationException(java.lang.String message) + +
+           
TargetInvocationException(java.lang.String message, + java.lang.Throwable cause) + +
+           
TargetInvocationException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TargetInvocationException

+
+public TargetInvocationException()
+
+
+
+ +

+TargetInvocationException

+
+public TargetInvocationException(java.lang.String message,
+                                 java.lang.Throwable cause)
+
+
+
+ +

+TargetInvocationException

+
+public TargetInvocationException(java.lang.String message)
+
+
+
+ +

+TargetInvocationException

+
+public TargetInvocationException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.html new file mode 100644 index 0000000000..6c61591d30 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/ThreadMessageContext.html @@ -0,0 +1,256 @@ + + + + + + +ThreadMessageContext + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class ThreadMessageContext

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.ThreadMessageContext
+
+
+
+
public final class ThreadMessageContext
extends java.lang.Object
+ + +

+Class for tunnelling a WorkContext through the invocation of a user class. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+static MessagegetMessageContext() + +
+          Returns the WorkContext for the current thread.
+static MessagesetMessageContext(Message context) + +
+          Set the WorkContext for the current thread.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+setMessageContext

+
+public static Message setMessageContext(Message context)
+
+
Set the WorkContext for the current thread. + The current work context is returned and must be restored after the invocation is complete. + Typical usage would be: +
+   WorkContext old = PojoWorkContextTunnel.setThreadWorkContext(newContext);
+   try {
+      ... invoke user code ...
+   } finally {
+     PojoWorkContextTunnel.setThreadWorkContext(old);
+   }
+ 
+

+

+
Parameters:
context - +
Returns:
the current work context for the thread; this must be restored after the invocation is made
+
+
+
+ +

+getMessageContext

+
+public static Message getMessageContext()
+
+
Returns the WorkContext for the current thread. +

+

+ +
Returns:
the WorkContext for the current thread
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/WireObjectFactory.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/WireObjectFactory.html new file mode 100644 index 0000000000..8ee6ade524 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/WireObjectFactory.html @@ -0,0 +1,277 @@ + + + + + + +WireObjectFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.core.invocation +
+Class WireObjectFactory<T>

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.core.invocation.WireObjectFactory<T>
+
+
+
All Implemented Interfaces:
ObjectFactory<T>
+
+
+
+
public class WireObjectFactory<T>
extends java.lang.Object
implements ObjectFactory<T>
+ + +

+Uses a wire to return an object instance +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
WireObjectFactory(java.lang.Class<T> interfaze, + RuntimeWire wire, + ProxyFactory proxyService) + +
+          Constructor.
+  + + + + + + + + + + + +
+Method Summary
+ TgetInstance() + +
+          Return a instance of the type that this factory creates.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WireObjectFactory

+
+public WireObjectFactory(java.lang.Class<T> interfaze,
+                         RuntimeWire wire,
+                         ProxyFactory proxyService)
+
+
Constructor. +

+

+
Parameters:
interfaze - the interface to inject on the client
wire - the backing wire
proxyService - the wire service to create the proxy +
Throws: +
NoMethodForOperationException
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public T getInstance()
+              throws ObjectCreationException
+
+
Description copied from interface: ObjectFactory
+
Return a instance of the type that this factory creates. +

+

+
Specified by:
getInstance in interface ObjectFactory<T>
+
+
+ +
Returns:
a instance from this factory +
Throws: +
ObjectCreationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-frame.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-frame.html new file mode 100644 index 0000000000..112ea64b48 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-frame.html @@ -0,0 +1,102 @@ + + + + + + +org.apache.tuscany.sca.core.invocation + + + + + + + + + + + +org.apache.tuscany.sca.core.invocation + + + + +
+Interfaces  + +
+ProxyFactory +
+ProxyFactoryExtensionPoint
+ + + + + + +
+Classes  + +
+CallableReferenceObjectFactory +
+CallbackInterfaceInterceptor +
+CallbackReferenceImpl +
+CallbackReferenceObjectFactory +
+CallbackWireObjectFactory +
+CglibProxyFactory +
+DefaultProxyFactoryExtensionPoint +
+ExtensibleProxyFactory +
+ExtensibleWireProcessor +
+InvocationChainImpl +
+JDKCallbackInvocationHandler +
+JDKInvocationHandler +
+JDKProxyFactory +
+MessageFactoryImpl +
+MessageImpl +
+NonBlockingInterceptor +
+PhaseManager +
+PhaseSorter +
+RuntimeWireInvoker +
+SCAProxy +
+ThreadMessageContext +
+WireObjectFactory
+ + + + + + +
+Exceptions  + +
+NoMethodForOperationException +
+ProxyCreationException +
+TargetInvocationException
+ + + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-summary.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-summary.html new file mode 100644 index 0000000000..cbb06ee479 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-summary.html @@ -0,0 +1,280 @@ + + + + + + +org.apache.tuscany.sca.core.invocation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.tuscany.sca.core.invocation +

+ + + + + + + + + + + + + +
+Interface Summary
ProxyFactoryCreates proxies that implement Java interfaces and invocation handlers for fronting wires
ProxyFactoryExtensionPointThe extension point to plug in proxy factories
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CallableReferenceObjectFactoryUses a wire to return a CallableReference
CallbackInterfaceInterceptorAn interceptor applied to the forward direction of a wire that ensures the callback target implements the required + service contract.
CallbackReferenceImpl<B>Returns proxy instance for a wire callback
CallbackReferenceObjectFactoryUses a wire to return a CallableReference
CallbackWireObjectFactory<B>Returns proxy instance for a wire callback
CglibProxyFactoryThe implementation of a wire service that uses cglib dynamic proxies
DefaultProxyFactoryExtensionPointDefault implementation of a ProxyFactoryExtensionPoint.
ExtensibleProxyFactoryAn extensible proxy factory.
ExtensibleWireProcessorThe default implementation of an extensible WireProcessor
InvocationChainImplDefault implementation of an invocation chain
JDKCallbackInvocationHandlerResponsible for dispatching to a callback through a wire.
JDKInvocationHandler 
JDKProxyFactorythe default implementation of a wire service that uses JDK dynamic proxies
MessageFactoryImplImplementation of MessageFactory.
MessageImplThe default implementation of a message flowed through a wire during an invocation
NonBlockingInterceptorAdds non-blocking behavior to an invocation chain
PhaseManager 
PhaseSorter<V>Directed, weighted graph
RuntimeWireInvoker 
SCAProxy 
ThreadMessageContextClass for tunnelling a WorkContext through the invocation of a user class.
WireObjectFactory<T>Uses a wire to return an object instance
+  + +

+ + + + + + + + + + + + + + + + + +
+Exception Summary
NoMethodForOperationExceptionThrown when an org.apache.tuscany.sca.core.factory.model.Operation cannot be mapped to a method on an interface
ProxyCreationExceptionDenotes an error creating a proxy
TargetInvocationExceptionRaised when an error is encountered during a target invocation
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-tree.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-tree.html new file mode 100644 index 0000000000..8b33c8b0b9 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/core/invocation/package-tree.html @@ -0,0 +1,192 @@ + + + + + + +org.apache.tuscany.sca.core.invocation Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.tuscany.sca.core.invocation +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3