org.enhydra.shark.toolagent
Class StandardToolAgentManager
java.lang.Object
org.enhydra.shark.toolagent.StandardToolAgentManager
- All Implemented Interfaces:
- ToolAgentManager
- public class StandardToolAgentManager
- extends java.lang.Object
- implements ToolAgentManager
Standard manager for creating and invoking tool agents.
- Version:
- 1.0
- Author:
- Sasa Bojanic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPLICATION_MAPPING_CLASS_NAME_PROPERTY
public static final java.lang.String APPLICATION_MAPPING_CLASS_NAME_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_TOOL_AGENT
public static final java.lang.String DEFAULT_TOOL_AGENT
- See Also:
- Constant Field Values
StandardToolAgentManager
public StandardToolAgentManager()
configure
public void configure(CallbackUtilities cus)
throws java.lang.Exception
- Specified by:
configure
in interface ToolAgentManager
- Throws:
java.lang.Exception
getDefinedToolAgents
public java.util.List getDefinedToolAgents(WMSessionHandle shandle)
throws java.lang.Exception
- Returns all tool agents specified in shark's properties.
- Specified by:
getDefinedToolAgents
in interface ToolAgentManager
- Throws:
java.lang.Exception
createToolAgent
public ToolAgent createToolAgent(WMSessionHandle shandle,
java.lang.String className)
throws java.lang.Exception
- Throws:
java.lang.Exception
invokeToolAgent
public void invokeToolAgent(WMSessionHandle shandle,
WMEntity appInfo,
WMEntity toolInfo,
AppParameter[] aprs,
java.lang.String procId,
java.lang.String actId,
java.lang.String assId)
throws java.lang.Exception
- Specified by:
invokeToolAgent
in interface ToolAgentManager
- Throws:
java.lang.Exception
getApplicationMapPersistenceManager
public ApplicationMappingManager getApplicationMapPersistenceManager()
- Specified by:
getApplicationMapPersistenceManager
in interface ToolAgentManager
getToolAgentsInfo
public java.lang.String[][] getToolAgentsInfo(WMSessionHandle shandle)
throws java.lang.Exception
- Specified by:
getToolAgentsInfo
in interface ToolAgentManager
- Throws:
java.lang.Exception