|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.workqueue.WorkQueueManagerImpl
public class WorkQueueManagerImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.cxf.workqueue.WorkQueueManager |
|---|
WorkQueueManager.ThreadingModel |
| Constructor Summary | |
|---|---|
WorkQueueManagerImpl()
|
|
| Method Summary | |
|---|---|
AutomaticWorkQueue |
getAutomaticWorkQueue()
Get the manager's work queue. |
Bus |
getBus()
|
WorkQueueManager.ThreadingModel |
getThreadingModel()
Get the threading model. |
void |
register()
|
void |
run()
Only returns after workqueue has been shutdown. |
void |
setBus(Bus bus)
|
void |
setThreadingModel(WorkQueueManager.ThreadingModel model)
Set the threading model. |
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()
| Method Detail |
|---|
public Bus getBus()
public void setBus(Bus bus)
@PostConstruct public void register()
public AutomaticWorkQueue getAutomaticWorkQueue()
WorkQueueManager
getAutomaticWorkQueue in interface WorkQueueManagerpublic WorkQueueManager.ThreadingModel getThreadingModel()
WorkQueueManager
getThreadingModel in interface WorkQueueManagerSINGLE_THREADED
or MULTI_THREADED.public void setThreadingModel(WorkQueueManager.ThreadingModel model)
WorkQueueManager
setThreadingModel in interface WorkQueueManagermodel - either SINGLE_THREADED
or MULTI_THREADED.public void shutdown(boolean processRemainingTasks)
WorkQueueManagerprocessRemainingTasks is true, waits for the work queue to
shutdown before returning.
shutdown in interface WorkQueueManagerprocessRemainingTasks - - whether or not to wait for completionpublic void run()
WorkQueueManager
run in interface WorkQueueManager
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||