| java.lang.Object org.obe.client.api.tool.ToolInvocation
ToolInvocation | final public class ToolInvocation implements Serializable(Code) | | Encapsulates the invocation of a tool (application or procedure). This class
can be used directly by thick Java clients (apps & applets), in order to
support tool types other than native executables. Thin clients can use this
class to generate the JavaScript to invoke the requisite application from an
HTML browser.
author: Adrian Price See Also: WMClient.executeWorkItem |
META_DATA | final public static int META_DATA(Code) | | |
TOOL_AGENT | final public static int TOOL_AGENT(Code) | | |
toolIndex | final public int toolIndex(Code) | | |
invokeTool | public void invokeTool(WMClient client, boolean sync)(Code) | | Invokes the tool agent, synchronously or asynchronously.
Parameters: client - The client connection to use. This must be valid if calledby a remote client, and must be null when called internallyby the workflow engine to invoke a procedure. Parameters: sync - true to invoke the tool synchronously. |
renderInvocationScript | public void renderInvocationScript(WMClient client, Writer writer) throws IOException, WMWorkflowException(Code) | | Renders the JavaScript necessary to invoke the tool from an HTML browser.
The implementation optionally calls
WMClient.toolStarted to
signal to the workflow engine that tool execution has begun.
Parameters: client - The client connection to use. Parameters: writer - The writer to which the JavaScript should be written. throws: IOException - If a problem occurred when writing the JavaScript. throws: WMWorkflowException - If a problem occurred when calling the client. |
requestAppStatus | public int requestAppStatus()(Code) | | |
terminateApp | public void terminateApp()(Code) | | |
|
|