Package org.apache.cxf.bus.managers
Class WorkQueueManagerImpl
java.lang.Object
org.apache.cxf.bus.managers.WorkQueueManagerImpl
- All Implemented Interfaces:
- WorkQueueManager
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidaddNamedWorkQueue(String name, AutomaticWorkQueue q) Adds a named work queueGet the manager's default work queue.getBus()getNamedWorkQueue(String name) Get the named work queue.voidrun()Only returns after workqueue has been shutdown.final voidvoidshutdown(boolean processRemainingTasks) Shuts down the manager's work queue.
- 
Field Details- 
DEFAULT_QUEUE_NAME- See Also:
 
- 
DEFAULT_WORKQUEUE_BEAN_NAME- See Also:
 
 
- 
- 
Constructor Details- 
WorkQueueManagerImplpublic WorkQueueManagerImpl()
- 
WorkQueueManagerImpl
 
- 
- 
Method Details- 
getBus
- 
setBus
- 
getAutomaticWorkQueueDescription copied from interface:WorkQueueManagerGet the manager's default work queue.- Specified by:
- getAutomaticWorkQueuein interface- WorkQueueManager
- Returns:
- AutomaticWorkQueue
 
- 
shutdownpublic void shutdown(boolean processRemainingTasks) Description copied from interface:WorkQueueManagerShuts down the manager's work queue. IfprocessRemainingTasksis true, waits for the work queue to shutdown before returning.- Specified by:
- shutdownin interface- WorkQueueManager
- Parameters:
- processRemainingTasks- - whether or not to wait for completion
 
- 
runpublic void run()Description copied from interface:WorkQueueManagerOnly returns after workqueue has been shutdown.- Specified by:
- runin interface- WorkQueueManager
 
- 
getNamedWorkQueueDescription copied from interface:WorkQueueManagerGet the named work queue.- Specified by:
- getNamedWorkQueuein interface- WorkQueueManager
- Returns:
- AutomaticWorkQueue
 
- 
addNamedWorkQueueDescription copied from interface:WorkQueueManagerAdds a named work queue- Specified by:
- addNamedWorkQueuein interface- WorkQueueManager
 
 
-