// Events.DOCUMENT_FINALIZEAPPDATA
try {
_session.writeVamsasDocument(location, vamlock);
- _session.updateLastStoredStat();
+ _session.clearUnsavedFlag();
} catch (Exception e) {
log.warn("Exception whilst trying to store document in "+location,e);
}
throw new Exception("Failed to start event generator thread - client cannot be instantiated.");
}
if (evgen.countHandlersFor(Events.DOCUMENT_CREATE)>0) {
- //TODO: check vamsas document for presence of an AppData entry for this application
+ //TODO: is this application connecting to a newly created session document ?
//evgen.raise(Events.DOCUMENT_CREATE);
}
}