|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The IWorkManager is responsible for managing all the available tools and their status. A tool can be registered to this manager to be available to the application.
| Method Summary | |
void |
addLibrary(ILibrary lib)
Tries to add the library given. |
void |
addTool(IToolFactory tool)
Tries to add the tool given. |
IToolFactory |
getTool(java.lang.String name)
Returns the tool with the name given or null. |
java.util.Iterator |
getTools()
Returns all available tools. |
ITool |
makeTool(java.lang.String name,
Parameter[] params)
Make a new tool, ready for execution |
void |
removeTool(IToolFactory tool)
Tries to remove the tool given. |
| Methods inherited from interface org.jwarp.service.configuration.IConfigurable |
configure |
| Method Detail |
public void addTool(IToolFactory tool)
The - new toolpublic void addLibrary(ILibrary lib)
The - librarypublic void removeTool(IToolFactory tool)
tool - NotFoundException - If the tool could not be foundpublic IToolFactory getTool(java.lang.String name)
public java.util.Iterator getTools()
public ITool makeTool(java.lang.String name,
Parameter[] params)
throws NotFoundException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||