|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsrc.server.Processor
The processor takes queries and sends them on to their intended destination inside the server. The processor is also in charge of logging all incoming queries and maintaining a query cache. Implements singelton pattern.
| Method Summary | |
void |
addHelpText(java.lang.String helpTextName,
java.lang.String helpText)
Adds a help text to the system. |
void |
addModule(Module newModule)
Adds a new module to the processors list. |
static Processor |
getInstance()
Used to get the object in singelton patterns. |
void |
processQuery(QueryPackage query)
Send a query to its destination, logging an caching it on the way. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Processor getInstance()
public void addModule(Module newModule)
newModule - The module to add.
public void addHelpText(java.lang.String helpTextName,
java.lang.String helpText)
helpTextName - helpText - public void processQuery(QueryPackage query)
query - The query to process.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||