|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sandesha.server.ThreadPoolInvokeStrategy
Use the Axis thread pool for handling web service invokes. Implementations
of the RMInvokerWork
are wrapped in a Runnable
and passed into the pool.
Nested Class Summary | |
protected class |
ThreadPoolInvokeStrategy.RMRunnableInvoker
A Runnable wrapper for embedding RMInvokerWork
objects in their own threads. |
Constructor Summary | |
ThreadPoolInvokeStrategy()
|
Method Summary | |
void |
addParams(java.util.Map aParams)
|
protected java.util.Map |
getParams()
|
protected int |
getThreadPoolSize()
Determine the size of the thread pool. |
void |
start()
Creates the axis thread pool. |
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadPoolInvokeStrategy()
Method Detail |
public void start()
start
in interface InvokeStrategy
InvokeStrategy.start()
public void stop()
stop
in interface InvokeStrategy
InvokeStrategy.stop()
protected int getThreadPoolSize()
Constants.INVOKER_THREADS
if none was explicitly set
via config.
public void addParams(java.util.Map aParams)
addParams
in interface InvokeStrategy
InvokeStrategy.addParams(java.util.Map)
protected java.util.Map getParams()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |