if (log.isInfoEnabled()) { log.info("Task Constructor completed for task " + iti); }
	private void doTaskConstruct(ITaskInstance iti) throws TaskConstructException, DefinitionNotFoundException {	    ITaskDefinition taskDef = iti.getTaskDefinition();		if (taskDef.getClassConstruct() == null) {			return;		}		if (iti.getState() != ITaskInstance.STATE_AWAITINGINITIALISATION) {			return;		}		try {			ITransaction t = stateFactory.beginTransaction();			iti.setState(ITaskInstance.STATE_INITIALISING);			stateFactory.saveObject(iti);			t.commit();			ITaskConstruct itc = classFactory.getTaskConstruct(iti.getTaskDefinition().getClassConstruct());			itc.taskConstruct(iti);			t = stateFactory.beginTransaction();			iti.setState(ITaskInstance.STATE_READY);			stateFactory.saveObject(iti);			t.commit();		} catch (Exception e) {			String emsg = "Failed to run class constructor for task "					+ iti;			log.error(emsg, e);			throw new TaskConstructException(emsg, e);		}	}