org.enhydra.shark.toolagent
Class DefaultToolAgent
java.lang.Object
org.enhydra.shark.toolagent.AbstractToolAgent
org.enhydra.shark.toolagent.DefaultToolAgent
- All Implemented Interfaces:
- ToolAgent
public class DefaultToolAgent
- extends AbstractToolAgent
Tool agent that is called when there are no any mapped tool agents. It reads the ext.
attributes to find the tool agent to call. When it calls another tool agent, it just
passes it parameters and ...
- Version:
- 1.0
- Author:
- Sasa Bojanic
Fields inherited from class org.enhydra.shark.toolagent.AbstractToolAgent |
APP_MODE_EXT_ATTR_NAME, APP_NAME_EXT_ATTR_NAME, appInfo, appMode, appName, assId, COMMA_SEPARATOR_STR, cus, extAttributes, handle, parameters, procInstId, SEMICOLON_SEPARATOR_STR, shandle, status, tashandle, toolInfo, wmci |
Methods inherited from class org.enhydra.shark.toolagent.AbstractToolAgent |
configure, connect, copyParams, disconnect, getInfo, getParameterByName, getParameterString, getParameterStringArray, getReturnParameters, requestAppStatus, terminateApp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultToolAgent
public DefaultToolAgent()
invokeApplication
public void invokeApplication(WMSessionHandle shandle,
long handle,
WMEntity appInfo,
WMEntity toolInfo,
java.lang.String applicationName,
java.lang.String procInstId,
java.lang.String assId,
AppParameter[] parameters,
java.lang.Integer appMode)
throws ApplicationNotStarted,
ApplicationNotDefined,
ApplicationBusy,
ToolAgentGeneralException
- Specified by:
invokeApplication
in interface ToolAgent
- Overrides:
invokeApplication
in class AbstractToolAgent
- Throws:
ApplicationNotStarted
ApplicationNotDefined
ApplicationBusy
ToolAgentGeneralException
getInfo
public java.lang.String getInfo()
throws ToolAgentGeneralException
- Throws:
ToolAgentGeneralException
readParamsFromExtAttributes
protected org.enhydra.shark.xpdl.elements.ExtendedAttributes readParamsFromExtAttributes(java.lang.String extAttribs)
throws java.lang.Exception
- Overrides:
readParamsFromExtAttributes
in class AbstractToolAgent
- Throws:
java.lang.Exception