Class ClassDelegateCollectionHandler
- java.lang.Object
-
- org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
-
- org.flowable.engine.impl.bpmn.helper.AbstractClassDelegate
-
- org.flowable.engine.impl.bpmn.helper.ClassDelegateCollectionHandler
-
- All Implemented Interfaces:
Serializable,ActivityBehavior,FlowableCollectionHandler,TriggerableActivityBehavior
public class ClassDelegateCollectionHandler extends AbstractClassDelegate implements FlowableCollectionHandler
Helper class for Collection handlers to allow class delegation. This class will lazily instantiate the referenced classes when needed at runtime.- Author:
- Lori Small
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.flowable.engine.impl.bpmn.helper.AbstractClassDelegate
className, fieldDeclarations, serviceTaskId
-
Fields inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
multiInstanceActivityBehavior
-
Fields inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description ClassDelegateCollectionHandler(Class<?> clazz, List<FieldDeclaration> fieldDeclarations)ClassDelegateCollectionHandler(String className, List<FieldDeclaration> fieldDeclarations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FlowableCollectionHandlergetCollectionHandlerInstance()CollectionresolveCollection(Object collectionValue, DelegateExecution execution)-
Methods inherited from class org.flowable.engine.impl.bpmn.helper.AbstractClassDelegate
applyFieldDeclaration, applyFieldDeclaration, applyFieldDeclaration, applyFieldDeclaration, defaultInstantiateDelegate, defaultInstantiateDelegate, defaultInstantiateDelegate, defaultInstantiateDelegate, getClassName, instantiateDelegate
-
Methods inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehavior
-
Methods inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
execute, leaveIgnoreConditions, parseActivityType, trigger
-
-
-
-
Constructor Detail
-
ClassDelegateCollectionHandler
public ClassDelegateCollectionHandler(String className, List<FieldDeclaration> fieldDeclarations)
-
ClassDelegateCollectionHandler
public ClassDelegateCollectionHandler(Class<?> clazz, List<FieldDeclaration> fieldDeclarations)
-
-
Method Detail
-
resolveCollection
public Collection resolveCollection(Object collectionValue, DelegateExecution execution)
- Specified by:
resolveCollectionin interfaceFlowableCollectionHandler
-
getCollectionHandlerInstance
protected FlowableCollectionHandler getCollectionHandlerInstance()
-
-