|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.workqueue.WorkQueueManagerImpl
public class WorkQueueManagerImpl
Constructor Summary | |
---|---|
WorkQueueManagerImpl()
|
|
WorkQueueManagerImpl(Bus b)
|
Method Summary | |
---|---|
void |
addNamedWorkQueue(String name,
AutomaticWorkQueue q)
Adds a named work queue |
AutomaticWorkQueue |
getAutomaticWorkQueue()
Get the manager's default work queue. |
Bus |
getBus()
|
AutomaticWorkQueue |
getNamedWorkQueue(String name)
Get the named work queue. |
void |
run()
Only returns after workqueue has been shutdown. |
void |
setBus(Bus bus)
|
void |
shutdown(boolean processRemainingTasks)
Shuts down the manager's work queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkQueueManagerImpl()
public WorkQueueManagerImpl(Bus b)
Method Detail |
---|
public Bus getBus()
public final void setBus(Bus bus)
public AutomaticWorkQueue getAutomaticWorkQueue()
WorkQueueManager
getAutomaticWorkQueue
in interface WorkQueueManager
public void shutdown(boolean processRemainingTasks)
WorkQueueManager
processRemainingTasks
is true, waits for the work queue to
shutdown before returning.
shutdown
in interface WorkQueueManager
processRemainingTasks
- - whether or not to wait for completionpublic void run()
WorkQueueManager
run
in interface WorkQueueManager
public AutomaticWorkQueue getNamedWorkQueue(String name)
WorkQueueManager
getNamedWorkQueue
in interface WorkQueueManager
public void addNamedWorkQueue(String name, AutomaticWorkQueue q)
WorkQueueManager
addNamedWorkQueue
in interface WorkQueueManager
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |