Class VariableListenerInvocationListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.core.variable.scope.VariableListenerInvocationListener
-
- All Implemented Interfaces:
VariableInstanceLifecycleListener<VariableInstanceEntity>
public class VariableListenerInvocationListener extends java.lang.Object implements VariableInstanceLifecycleListener<VariableInstanceEntity>
- Author:
- Thorben Lindhauer, Christopher Zell, Ryan Johnston
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractVariableScope
targetScope
-
Constructor Summary
Constructors Constructor Description VariableListenerInvocationListener(AbstractVariableScope targetScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addEventToScopeExecution(ExecutionEntity sourceScope, VariableEvent event)
protected void
handleEvent(VariableEvent event)
void
onCreate(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
void
onDelete(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
void
onUpdate(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
-
-
-
Field Detail
-
targetScope
protected final AbstractVariableScope targetScope
-
-
Constructor Detail
-
VariableListenerInvocationListener
public VariableListenerInvocationListener(AbstractVariableScope targetScope)
-
-
Method Detail
-
onCreate
public void onCreate(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
- Specified by:
onCreate
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
onUpdate
public void onUpdate(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
- Specified by:
onUpdate
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
onDelete
public void onDelete(VariableInstanceEntity variable, AbstractVariableScope sourceScope)
- Specified by:
onDelete
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
handleEvent
protected void handleEvent(VariableEvent event)
-
addEventToScopeExecution
protected void addEventToScopeExecution(ExecutionEntity sourceScope, VariableEvent event)
-
-