This interface defines additional methods for applications
used by the implementation classes.
author: Michael Lipp version: $Revision: 1.1 $
Inner Class :public static class InvocationResult implements Serializable
Method Summary
InvocationResult
invoke(ToolAgentContext agentContext, Activity activity, Map params) Invokes the application for the specific activity.
Parameters: agentContext - the context to pass to the tool agentagent Parameters: activity - the activity to be executed Parameters: params - the invokation parameters the invocation result if the tool agent provides one(i.e.
terminate(Activity activity) Terminates the application for the specific activity.
Parameters: activity - the activity throws: ApplicationNotStoppedException - if execution is not possible throws: RemoteException - if a temporary problem occurs and weshould retry the tool invocation.
Invokes the application for the specific activity.
Parameters: agentContext - the context to pass to the tool agentagent Parameters: activity - the activity to be executed Parameters: params - the invokation parameters the invocation result if the tool agent provides one(i.e. implements ResultProvider), else null throws: ToolInvocationException - if execution is not possible throws: RemoteException - if a temporary problem occurs and weshould retry the tool invocation. (Usually thrown when adeadlock situation occurs while accessing the activity.)
Terminates the application for the specific activity.
Parameters: activity - the activity throws: ApplicationNotStoppedException - if execution is not possible throws: RemoteException - if a temporary problem occurs and weshould retry the tool invocation. (Usually thrown when adeadlock situation occurs while accessing the activity.)