| |
|
| org.obe.spi.service.ToolAgentFactory
All known Subclasses: org.obe.runtime.tool.BasicToolAgentFactory,
ToolAgentFactory | public interface ToolAgentFactory extends WorkflowService(Code) | | Standard interface for a tool agent factory. The tool agent factory is used
to retrieve tool agents at run-time. Workflow tool IDs are mapped to a
specific agent at run-time.
author: Adrian Price |
findToolAgent | ToolAgent findToolAgent(Application toolDef, Parameter[] parameters) throws RepositoryException(Code) | | Finds a tool agent. This method is called by the engine at run-time when
it needs to execute the tool invocation.
Parameters: toolDef - The XPDL tool definition. Parameters: parameters - The parameters to pass to a stateful (non-threadsafe)tool agent's constructor. N.B. Stateless tool agents ignore thisparameter but it must always be passed because the caller does not knowwhether the tool itself is threadsafe. A tool agent to invoke the specified tool. throws: ObjectNotFoundException - if no suitable tool agent is registered. throws: RepositoryException - if some other error occurred. |
findToolType | ToolAgentMetaData findToolType(String className, String locale) throws RepositoryException(Code) | | Returns information about the specified too type. This method is
intended to support design-time clients and management applications.
Parameters: className - The tool type (i.e., the fully qualified name of theimplementation class). Parameters: locale - The locale in which the results should be formatted. Information about the specified tool type. throws: ObjectNotFoundException - if the tool type is unknown. throws: RepositoryException - if some other error occurred. |
findToolTypes | ToolAgentMetaData[] findToolTypes(String locale) throws RepositoryException(Code) | | Finds all tool types known to the repository. This method is intended to
support design-time clients and management applications.
Parameters: locale - The locale in which the results should be formatted. All tool types. throws: RepositoryException - if an error occurred. |
|
|
|