Class DefaultListenerFactory
- java.lang.Object
-
- org.flowable.engine.impl.bpmn.parser.factory.AbstractBehaviorFactory
-
- org.flowable.engine.impl.bpmn.parser.factory.DefaultListenerFactory
-
- All Implemented Interfaces:
ListenerFactory
public class DefaultListenerFactory extends AbstractBehaviorFactory implements ListenerFactory
Default implementation of theListenerFactory. Used when no customListenerFactoryis injected on theProcessEngineConfigurationImpl.- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,Class<?>>ENTITY_MAPPING-
Fields inherited from class org.flowable.engine.impl.bpmn.parser.factory.AbstractBehaviorFactory
expressionManager
-
-
Constructor Summary
Constructors Constructor Description DefaultListenerFactory()DefaultListenerFactory(ClassDelegateFactory classDelegateFactory)
-
Method Summary
-
Methods inherited from class org.flowable.engine.impl.bpmn.parser.factory.AbstractBehaviorFactory
createFieldDeclarations, getExpressionManager, setExpressionManager
-
-
-
-
Constructor Detail
-
DefaultListenerFactory
public DefaultListenerFactory(ClassDelegateFactory classDelegateFactory)
-
DefaultListenerFactory
public DefaultListenerFactory()
-
-
Method Detail
-
createClassDelegateTaskListener
public TaskListener createClassDelegateTaskListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createClassDelegateTaskListenerin interfaceListenerFactory
-
createExpressionTaskListener
public TaskListener createExpressionTaskListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createExpressionTaskListenerin interfaceListenerFactory
-
createDelegateExpressionTaskListener
public TaskListener createDelegateExpressionTaskListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createDelegateExpressionTaskListenerin interfaceListenerFactory
-
createTransactionDependentDelegateExpressionTaskListener
public TransactionDependentTaskListener createTransactionDependentDelegateExpressionTaskListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createTransactionDependentDelegateExpressionTaskListenerin interfaceListenerFactory
-
createScriptTypeTaskListener
public TaskListener createScriptTypeTaskListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createScriptTypeTaskListenerin interfaceListenerFactory
-
createExpression
protected Expression createExpression(Object value)
-
createClassDelegateExecutionListener
public ExecutionListener createClassDelegateExecutionListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createClassDelegateExecutionListenerin interfaceListenerFactory
-
createExpressionExecutionListener
public ExecutionListener createExpressionExecutionListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createExpressionExecutionListenerin interfaceListenerFactory
-
createDelegateExpressionExecutionListener
public ExecutionListener createDelegateExpressionExecutionListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createDelegateExpressionExecutionListenerin interfaceListenerFactory
-
createScriptTypeExecutionListener
public ExecutionListener createScriptTypeExecutionListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createScriptTypeExecutionListenerin interfaceListenerFactory
-
createTransactionDependentDelegateExpressionExecutionListener
public DelegateExpressionTransactionDependentExecutionListener createTransactionDependentDelegateExpressionExecutionListener(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createTransactionDependentDelegateExpressionExecutionListenerin interfaceListenerFactory
-
createClassDelegateEventListener
public FlowableEventListener createClassDelegateEventListener(org.flowable.bpmn.model.EventListener eventListener)
- Specified by:
createClassDelegateEventListenerin interfaceListenerFactory
-
createDelegateExpressionEventListener
public FlowableEventListener createDelegateExpressionEventListener(org.flowable.bpmn.model.EventListener eventListener)
- Specified by:
createDelegateExpressionEventListenerin interfaceListenerFactory
-
createEventThrowingEventListener
public FlowableEventListener createEventThrowingEventListener(org.flowable.bpmn.model.EventListener eventListener)
- Specified by:
createEventThrowingEventListenerin interfaceListenerFactory
-
createClassDelegateCustomPropertiesResolver
public CustomPropertiesResolver createClassDelegateCustomPropertiesResolver(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createClassDelegateCustomPropertiesResolverin interfaceListenerFactory
-
createExpressionCustomPropertiesResolver
public CustomPropertiesResolver createExpressionCustomPropertiesResolver(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createExpressionCustomPropertiesResolverin interfaceListenerFactory
-
createDelegateExpressionCustomPropertiesResolver
public CustomPropertiesResolver createDelegateExpressionCustomPropertiesResolver(org.flowable.bpmn.model.FlowableListener listener)
- Specified by:
createDelegateExpressionCustomPropertiesResolverin interfaceListenerFactory
-
getEntityType
protected Class<?> getEntityType(String entityType)
- Parameters:
entityType- the name of the entity- Returns:
- Throws:
FlowableIllegalArgumentException- when the given entity type is not found
-
-