Class DefaultListenerFactory
- java.lang.Object
-
- org.activiti.engine.impl.bpmn.parser.factory.AbstractBehaviorFactory
-
- org.activiti.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.
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,Class<?>>ENTITY_MAPPING-
Fields inherited from class org.activiti.engine.impl.bpmn.parser.factory.AbstractBehaviorFactory
expressionManager
-
-
Constructor Summary
Constructors Constructor Description DefaultListenerFactory()DefaultListenerFactory(ClassDelegateFactory classDelegateFactory)
-
Method Summary
-
Methods inherited from class org.activiti.engine.impl.bpmn.parser.factory.AbstractBehaviorFactory
createFieldDeclarations, getExpressionManager, getMessageExecutionContextFactory, getMessagePayloadMappingProviderFactory, getThrowMessageDelegateFactory, setExpressionManager, setMessageExecutionContextFactory, setMessagePayloadMappingProviderFactory, setThrowMessageDelegateFactory
-
-
-
-
Constructor Detail
-
DefaultListenerFactory
public DefaultListenerFactory(ClassDelegateFactory classDelegateFactory)
-
DefaultListenerFactory
public DefaultListenerFactory()
-
-
Method Detail
-
createClassDelegateTaskListener
public TaskListener createClassDelegateTaskListener(ActivitiListener activitiListener)
- Specified by:
createClassDelegateTaskListenerin interfaceListenerFactory
-
createExpressionTaskListener
public TaskListener createExpressionTaskListener(ActivitiListener activitiListener)
- Specified by:
createExpressionTaskListenerin interfaceListenerFactory
-
createDelegateExpressionTaskListener
public TaskListener createDelegateExpressionTaskListener(ActivitiListener activitiListener)
- Specified by:
createDelegateExpressionTaskListenerin interfaceListenerFactory
-
createTransactionDependentDelegateExpressionTaskListener
public TransactionDependentTaskListener createTransactionDependentDelegateExpressionTaskListener(ActivitiListener activitiListener)
- Specified by:
createTransactionDependentDelegateExpressionTaskListenerin interfaceListenerFactory
-
createClassDelegateExecutionListener
public ExecutionListener createClassDelegateExecutionListener(ActivitiListener activitiListener)
- Specified by:
createClassDelegateExecutionListenerin interfaceListenerFactory
-
createExpressionExecutionListener
public ExecutionListener createExpressionExecutionListener(ActivitiListener activitiListener)
- Specified by:
createExpressionExecutionListenerin interfaceListenerFactory
-
createDelegateExpressionExecutionListener
public ExecutionListener createDelegateExpressionExecutionListener(ActivitiListener activitiListener)
- Specified by:
createDelegateExpressionExecutionListenerin interfaceListenerFactory
-
createTransactionDependentDelegateExpressionExecutionListener
public DelegateExpressionTransactionDependentExecutionListener createTransactionDependentDelegateExpressionExecutionListener(ActivitiListener activitiListener)
- Specified by:
createTransactionDependentDelegateExpressionExecutionListenerin interfaceListenerFactory
-
createClassDelegateEventListener
public ActivitiEventListener createClassDelegateEventListener(EventListener eventListener)
- Specified by:
createClassDelegateEventListenerin interfaceListenerFactory
-
createDelegateExpressionEventListener
public ActivitiEventListener createDelegateExpressionEventListener(EventListener eventListener)
- Specified by:
createDelegateExpressionEventListenerin interfaceListenerFactory
-
createEventThrowingEventListener
public ActivitiEventListener createEventThrowingEventListener(EventListener eventListener)
- Specified by:
createEventThrowingEventListenerin interfaceListenerFactory
-
createClassDelegateCustomPropertiesResolver
public CustomPropertiesResolver createClassDelegateCustomPropertiesResolver(ActivitiListener activitiListener)
- Specified by:
createClassDelegateCustomPropertiesResolverin interfaceListenerFactory
-
createExpressionCustomPropertiesResolver
public CustomPropertiesResolver createExpressionCustomPropertiesResolver(ActivitiListener activitiListener)
- Specified by:
createExpressionCustomPropertiesResolverin interfaceListenerFactory
-
createDelegateExpressionCustomPropertiesResolver
public CustomPropertiesResolver createDelegateExpressionCustomPropertiesResolver(ActivitiListener activitiListener)
- Specified by:
createDelegateExpressionCustomPropertiesResolverin interfaceListenerFactory
-
getEntityType
protected Class<?> getEntityType(String entityType)
- Parameters:
entityType- the name of the entity- Returns:
- Throws:
ActivitiIllegalArgumentException- when the given entity name
-
-