Class EventSubscriptionManager

java.lang.Object
org.flowable.engine.impl.bpmn.deployer.EventSubscriptionManager

public class EventSubscriptionManager extends Object
Manages event subscriptions for newly-deployed process definitions and their previous versions.
  • Constructor Details

    • EventSubscriptionManager

      public EventSubscriptionManager()
  • Method Details

    • removeObsoleteMessageEventSubscriptions

      protected void removeObsoleteMessageEventSubscriptions(ProcessDefinitionEntity previousProcessDefinition)
    • removeObsoleteSignalEventSubscription

      protected void removeObsoleteSignalEventSubscription(ProcessDefinitionEntity previousProcessDefinition)
    • removeOrUpdateObsoleteEventRegistryEventSubscription

      protected void removeOrUpdateObsoleteEventRegistryEventSubscription(ProcessDefinitionEntity previousProcessDefinition, ProcessDefinitionEntity processDefinition)
    • getEventRegistryStartEventEventTypes

      protected List<EventSubscriptionManager.StartEventInfo> getEventRegistryStartEventEventTypes(ProcessDefinitionEntity previousProcessDefinition)
    • removeObsoleteEventSubscriptions

      protected void removeObsoleteEventSubscriptions(ProcessDefinitionEntity processDefinition, String eventHandlerType)
    • updateOldEventSubscriptions

      protected void updateOldEventSubscriptions(ProcessDefinitionEntity previousProcessDefinition, ProcessDefinitionEntity processDefinition, String eventType, String activityId)
    • addEventSubscriptions

      protected void addEventSubscriptions(ProcessDefinitionEntity processDefinition, org.flowable.bpmn.model.Process process, org.flowable.bpmn.model.BpmnModel bpmnModel)
    • insertSignalEvent

      protected void insertSignalEvent(org.flowable.bpmn.model.SignalEventDefinition signalEventDefinition, org.flowable.bpmn.model.StartEvent startEvent, ProcessDefinitionEntity processDefinition, org.flowable.bpmn.model.BpmnModel bpmnModel)
    • insertMessageEvent

      protected void insertMessageEvent(org.flowable.bpmn.model.MessageEventDefinition messageEventDefinition, org.flowable.bpmn.model.StartEvent startEvent, ProcessDefinitionEntity processDefinition, org.flowable.bpmn.model.BpmnModel bpmnModel)
    • insertEventRegistryEvent

      protected void insertEventRegistryEvent(String eventDefinitionKey, org.flowable.bpmn.model.StartEvent startEvent, ProcessDefinitionEntity processDefinition, org.flowable.bpmn.model.BpmnModel bpmnModel)