public void run () throws BaseException, ToolAgentGeneralException {
Iterator tools = null;
try {
ActivityTypes acTypes = actDef.getActivityTypes();
org.enhydra.shark.xpdl.elements.Implementation impl = acTypes.getImplementation();
ImplementationTypes implt = impl.getImplementationTypes();
org.enhydra.shark.xpdl.elements.Tools tolls = implt.getTools();
ArrayList al = tolls.toElements();
tools = al.iterator();
} catch (Exception e) {
e.printStackTrace();
throw new BaseException(e);