Author: lresende
Date: Thu Sep 13 12:26:11 2007
New Revision: 575408

URL: http://svn.apache.org/viewvc?rev=575408&view=rev
Log:
TUSCANY-1675 - Applying patch from Rashimi Hunt

Modified:
    
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java

Modified: 
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java?rev=575408&r1=575407&r2=575408&view=diff
==============================================================================
--- 
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java
 (original)
+++ 
incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/NonBlockingInterceptor.java
 Thu Sep 13 12:26:11 2007
@@ -50,6 +50,16 @@
         this.next = next;
     }
 
+    /**
+     * Sets desired workScheduler to NonBlockingInterceptor. This is a usefull 
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.
+     * @param workScheduler workScheduler which contains workmanager
+     */
+    public void setWorkScheduler(WorkScheduler workScheduler){
+        this.workScheduler = workScheduler;
+    }
+
     public Message invoke(final Message msg) {
         // Retrieve conversation id to transfer to new thread
         // Notice that we cannot clear the conversation id from the current 
thread



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to