Class VerifyDeserializedObjectCommandContextCloseListener

java.lang.Object
org.activiti.engine.impl.variable.VerifyDeserializedObjectCommandContextCloseListener
All Implemented Interfaces:
CommandContextCloseListener

public class VerifyDeserializedObjectCommandContextCloseListener extends Object implements CommandContextCloseListener
A CommandContextCloseListener that holds one DeserializedObject instance that is added by the SerializableType. On the closing(CommandContext) of the CommandContext, the DeserializedObject will be verified if it is dirty. If so, it will update the right entities such that changes will be flushed. It's important that this happens in the closing(CommandContext), as this happens before the CommandContext.close() is called and when all the sessions are flushed (including the DbSqlSession in the relational DB case (the data needs to be ready then).