Provide a setter method to set a different workScheduler on
NonBlockingInterceptor
----------------------------------------------------------------------------------
Key: TUSCANY-1675
URL: https://issues.apache.org/jira/browse/TUSCANY-1675
Project: Tuscany
Issue Type: Bug
Reporter: Rashmi Hunt
Often times it's required to set/configure a different workmanager on
invocation chain other than the default one which is
configured per Tuscany runtime. This feature is useful for extension
frameworks to be able to set a desired workmanager
on an invocation chain if needed.
A simple setter in NonBlockingInterceptor will provide a solution for this
issue. Using this setter, extension frameworks can
set desired workmanager on InvocationChain during post wire processing.
/**
* 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;
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]