org.writersforge.catalan.process.workspace
Interface IWorkspace

All Superinterfaces:
IPropertyHolder
All Known Implementing Classes:
BaseWorkspace

public interface IWorkspace
extends IPropertyHolder

Running data context for an entire processing run. Manages all data input, output, and working queues, global properties

Author:
jsheets

Method Summary
 AlertQueue getAlertQueue()
          Retrieves the AlertQueue for this IWorkspace.
 QueueManager getDataQueues()
          Retrieves the QueueManager responsible for all queues.
 WorkerRegistry getWorkerRegistry()
          Retrieves the WorkerRegistry for this IWorkspace.
 
Methods inherited from interface org.writersforge.catalan.process.workers.IPropertyHolder
getProperties
 

Method Detail

getDataQueues

public QueueManager getDataQueues()
Retrieves the QueueManager responsible for all queues.

Returns:
queue manager

getAlertQueue

public AlertQueue getAlertQueue()
Retrieves the AlertQueue for this IWorkspace. All failures from the processing run should be present in the AlertQueue.

Returns:
alert queue

getWorkerRegistry

public WorkerRegistry getWorkerRegistry()
Retrieves the WorkerRegistry for this IWorkspace. This registry can be used to find worker implementations by name.

Returns:
worker registry