| java.lang.Object org.enhydra.shark.toolagent.AbstractToolAgent
All known Subclasses: org.enhydra.shark.toolagent.BshToolAgent, org.enhydra.shark.toolagent.XSLTToolAgent, org.enhydra.shark.toolagent.SOAPToolAgent, org.enhydra.shark.toolagent.MailToolAgent, org.enhydra.shark.toolagent.StorageToolAgent, org.enhydra.shark.toolagent.SchedulerToolAgent, org.enhydra.shark.toolagent.DefaultToolAgent, org.enhydra.shark.toolagent.DigestPasswordTool, org.enhydra.shark.toolagent.RuntimeApplicationToolAgent, org.enhydra.shark.toolagent.ExecuteSqlTool, org.enhydra.shark.toolagent.JavaClassToolAgent, org.enhydra.shark.toolagent.JavaScriptToolAgent,
AbstractToolAgent | abstract public class AbstractToolAgent implements ToolAgent(Code) | | Base class for all tool agents we implement. If one wants to extend this class and
create tool agent, he should override invokeApplication method.
author: Sasa Bojanic |
Method Summary | |
public void | configure(CallbackUtilities cus) | public WMSessionHandle | connect(WMConnectInfo ci) | public static void | copyParams(AppParameter[] taApps, AppParameter[] apps) | public void | disconnect(WMSessionHandle shandle) | public String | getInfo(WMSessionHandle shandle) | public static AppParameter | getParameterByName(AppParameter[] sharkParameters, String name) | public static String | getParameterString(AppParameter[] sharkParameters, String parameterName) | public static String[] | getParameterStringArray(AppParameter[] sharkParameters, String parameterName, String separatorStr) | protected AppParameter[] | getReturnParameters() | public void | invokeApplication(WMSessionHandle shandle, long handle, WMEntity appInfo, WMEntity toolInfo, String applicationName, String procInstId, String assId, AppParameter[] parameters, Integer appMode) | protected ExtendedAttributes | readParamsFromExtAttributes(String extAttribs) | public long | requestAppStatus(WMSessionHandle shandle, long handle, WMEntity toolInfo, String procInstId, String assId, AppParameter[] parameters) | public void | terminateApp(WMSessionHandle shandle, long handle, WMEntity toolInfo, String procInstId, String assId) |
APP_MODE_EXT_ATTR_NAME | final public static String APP_MODE_EXT_ATTR_NAME(Code) | | |
APP_NAME_EXT_ATTR_NAME | final public static String APP_NAME_EXT_ATTR_NAME(Code) | | |
COMMA_SEPARATOR_STR | final public static String COMMA_SEPARATOR_STR(Code) | | |
SEMICOLON_SEPARATOR_STR | final public static String SEMICOLON_SEPARATOR_STR(Code) | | |
handle | protected long handle(Code) | | |
status | protected long status(Code) | | |
invokeApplication | public void invokeApplication(WMSessionHandle shandle, long handle, WMEntity appInfo, WMEntity toolInfo, String applicationName, String procInstId, String assId, AppParameter[] parameters, Integer appMode) throws ApplicationNotStarted, ApplicationNotDefined, ApplicationBusy, ToolAgentGeneralException(Code) | | |
readParamsFromExtAttributes | protected ExtendedAttributes readParamsFromExtAttributes(String extAttribs) throws Exception(Code) | | |
|
|