|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginManager
A Plugin Manager is a container within which a particular instantiation of a Plugin lives during the execution of the pipeline. The Plugin manager makes the life of the plugin developer easier by providing all those features related to communication with the rest of the pipeline.
Nested Class Summary | |
---|---|
static class |
PluginManager.Message
This enumeraton contains the set of messages that can be send to a given PluginManger from another PluginManger. |
Method Summary | |
---|---|
void |
accept(PluginManager.Message message)
The accept method allows a particular party to send a control message to the Plugin Manger. |
void |
addInputQueue(Queue<SetOfStatements> inputQueue)
This method adds an input queue to the list of input queues. |
void |
addOutputQueue(Queue<SetOfStatements> outputQueue)
This method adds an output queue to the list of output queues. |
void |
addPrevious(PluginManager thePluginManager)
The setPrevious method is used to inform the PluginManager of the previous PluginManager in the pipeline, i.e. |
java.util.List<Queue<SetOfStatements>> |
getInputQueues()
This method returns the input queues of the manager. |
java.util.List<Queue<SetOfStatements>> |
getOutputQueues()
This method returns the output queues of the manager. |
void |
setInputQueues(java.util.List<Queue<SetOfStatements>> theInputQueues)
This method sets the input queues of the manager. |
void |
setOutputQueues(java.util.List<Queue<SetOfStatements>> theOutputQueues)
This method sets the output queues of the manager. |
void |
start()
The start method should be called to instruct the Plugin Manager that it should begin the process of finding data for the plugin it manages and producing data for the next plugin in the pipeline. |
Method Detail |
---|
void accept(PluginManager.Message message)
message
- the message being sent from another PluginManagerPluginManager.Message
void addPrevious(PluginManager thePluginManager)
thePluginManager
- the PluginManager responsible for managing the previous plugin
in the pipelinejava.util.List<Queue<SetOfStatements>> getInputQueues()
void setInputQueues(java.util.List<Queue<SetOfStatements>> theInputQueues)
theInputQueues
- the input queuesvoid addInputQueue(Queue<SetOfStatements> inputQueue)
inputQueue
- the new input queuejava.util.List<Queue<SetOfStatements>> getOutputQueues()
void setOutputQueues(java.util.List<Queue<SetOfStatements>> theOutputQueues)
theOutputQueues
- the output queuesvoid addOutputQueue(Queue<SetOfStatements> outputQueue)
outputQueue
- the new output queuevoid start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |