01: package org.enhydra.shark.api.internal.toolagent;
02:
03: import java.util.List;
04:
05: import org.enhydra.shark.api.client.wfmc.wapi.WMSessionHandle;
06: import org.enhydra.shark.api.client.wfservice.WMEntity;
07: import org.enhydra.shark.api.internal.appmappersistence.ApplicationMappingManager;
08: import org.enhydra.shark.api.internal.working.CallbackUtilities;
09:
10: /**
11: * @author Sasa Bojanic
12: * @author Vladimir Puskas
13: */
14: public interface ToolAgentManager {
15: void configure(CallbackUtilities cus) throws Exception;
16:
17: void invokeToolAgent(WMSessionHandle shandle, WMEntity appInfo,
18: WMEntity toolInfo, AppParameter[] aprs, String procId,
19: String actId, String assId) throws Exception;
20:
21: /**
22: * Gets the list of full class names of tool agent implementations that are
23: * explicitly known by the implementation of the factory.
24: *
25: * @return a List
26: *
27: * @throws Exception
28: *
29: */
30: List getDefinedToolAgents(WMSessionHandle shandle) throws Exception;
31:
32: String[][] getToolAgentsInfo(WMSessionHandle shandle)
33: throws Exception;
34:
35: ApplicationMappingManager getApplicationMapPersistenceManager();
36:
37: }
|