Class BpmnEventRegistryEventConsumer
- java.lang.Object
-
- org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
-
- org.flowable.engine.impl.eventregistry.BpmnEventRegistryEventConsumer
-
- All Implemented Interfaces:
org.flowable.eventregistry.api.EventRegistryEventConsumer
public class BpmnEventRegistryEventConsumer extends BaseEventRegistryEventConsumer
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngineConfigurationImplprocessEngineConfiguration-
Fields inherited from class org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
commandExecutor, engingeConfiguration
-
-
Constructor Summary
Constructors Constructor Description BpmnEventRegistryEventConsumer(ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcountProcessInstances(RuntimeService runtimeService, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, CorrelationKey correlationKey, ProcessDefinition processDefinition)protected org.flowable.eventsubscription.api.EventSubscriptionQuerycreateEventSubscriptionQuery()protected org.flowable.eventregistry.api.EventRegistryProcessingInfoeventReceived(org.flowable.eventregistry.api.runtime.EventInstance eventInstance)StringgetConsumerKey()protected StringgetStartCorrelationConfiguration(org.flowable.eventsubscription.api.EventSubscription eventSubscription)protected voidhandleEventSubscription(RuntimeService runtimeService, org.flowable.eventsubscription.api.EventSubscription eventSubscription, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, Collection<CorrelationKey> correlationKeys, org.flowable.eventregistry.api.EventConsumerInfo eventConsumerInfo)protected voidstartProcessInstance(ProcessInstanceBuilder processInstanceBuilder, String referenceId, String referenceType)-
Methods inherited from class org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
eventReceived, findEventSubscriptions, generateCorrelationKey, generateCorrelationKeys, getCorrelationKeyWithAllParameters, getEventRegistry
-
-
-
-
Field Detail
-
processEngineConfiguration
protected ProcessEngineConfigurationImpl processEngineConfiguration
-
-
Constructor Detail
-
BpmnEventRegistryEventConsumer
public BpmnEventRegistryEventConsumer(ProcessEngineConfigurationImpl processEngineConfiguration)
-
-
Method Detail
-
getConsumerKey
public String getConsumerKey()
-
eventReceived
protected org.flowable.eventregistry.api.EventRegistryProcessingInfo eventReceived(org.flowable.eventregistry.api.runtime.EventInstance eventInstance)
- Specified by:
eventReceivedin classBaseEventRegistryEventConsumer
-
handleEventSubscription
protected void handleEventSubscription(RuntimeService runtimeService, org.flowable.eventsubscription.api.EventSubscription eventSubscription, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, Collection<CorrelationKey> correlationKeys, org.flowable.eventregistry.api.EventConsumerInfo eventConsumerInfo)
-
countProcessInstances
protected long countProcessInstances(RuntimeService runtimeService, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, CorrelationKey correlationKey, ProcessDefinition processDefinition)
-
startProcessInstance
protected void startProcessInstance(ProcessInstanceBuilder processInstanceBuilder, String referenceId, String referenceType)
-
getStartCorrelationConfiguration
protected String getStartCorrelationConfiguration(org.flowable.eventsubscription.api.EventSubscription eventSubscription)
-
createEventSubscriptionQuery
protected org.flowable.eventsubscription.api.EventSubscriptionQuery createEventSubscriptionQuery()
- Specified by:
createEventSubscriptionQueryin classBaseEventRegistryEventConsumer
-
-