當前位置: 首頁>>代碼示例>>Java>>正文


Java CompensationEventHandler類代碼示例

本文整理匯總了Java中org.activiti.engine.impl.event.CompensationEventHandler的典型用法代碼示例。如果您正苦於以下問題:Java CompensationEventHandler類的具體用法?Java CompensationEventHandler怎麽用?Java CompensationEventHandler使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


CompensationEventHandler類屬於org.activiti.engine.impl.event包,在下文中一共展示了CompensationEventHandler類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: initEventHandlers

import org.activiti.engine.impl.event.CompensationEventHandler; //導入依賴的package包/類
protected void initEventHandlers() {
    if (eventHandlers == null) {
        eventHandlers = new HashMap<>();

        SignalEventHandler signalEventHander = new SignalEventHandler();
        eventHandlers.put(signalEventHander.getEventHandlerType(), signalEventHander);

        CompensationEventHandler compensationEventHandler = new CompensationEventHandler();
        eventHandlers.put(compensationEventHandler.getEventHandlerType(), compensationEventHandler);

        MessageEventHandler messageEventHandler = new MessageEventHandler();
        eventHandlers.put(messageEventHandler.getEventHandlerType(), messageEventHandler);

    }
    if (customEventHandlers != null) {
        for (EventHandler eventHandler : customEventHandlers) {
            eventHandlers.put(eventHandler.getEventHandlerType(), eventHandler);
        }
    }
}
 
開發者ID:flowable,項目名稱:flowable-engine,代碼行數:21,代碼來源:ProcessEngineConfigurationImpl.java

示例2: initEventHandlers

import org.activiti.engine.impl.event.CompensationEventHandler; //導入依賴的package包/類
protected void initEventHandlers() {
  if(eventHandlers == null) {
    eventHandlers = new HashMap<String, EventHandler>();
    
    SignalEventHandler signalEventHander = new SignalEventHandler();
    eventHandlers.put(signalEventHander.getEventHandlerType(), signalEventHander);
    
    CompensationEventHandler compensationEventHandler = new CompensationEventHandler();
    eventHandlers.put(compensationEventHandler.getEventHandlerType(), compensationEventHandler);
    
  }
  if(customEventHandlers != null) {
    for (EventHandler eventHandler : customEventHandlers) {
      eventHandlers.put(eventHandler.getEventHandlerType(), eventHandler);        
    }
  }
}
 
開發者ID:iotsap,項目名稱:FiWare-Template-Handler,代碼行數:18,代碼來源:ProcessEngineConfigurationImpl.java

示例3: initEventHandlers

import org.activiti.engine.impl.event.CompensationEventHandler; //導入依賴的package包/類
protected void initEventHandlers() {
  if(eventHandlers == null) {
    eventHandlers = new HashMap<String, EventHandler>();
    
    SignalEventHandler signalEventHander = new SignalEventHandler();
    eventHandlers.put(signalEventHander.getEventHandlerType(), signalEventHander);
    
    CompensationEventHandler compensationEventHandler = new CompensationEventHandler();
    eventHandlers.put(compensationEventHandler.getEventHandlerType(), compensationEventHandler);
    
    MessageEventHandler messageEventHandler = new MessageEventHandler();
    eventHandlers.put(messageEventHandler.getEventHandlerType(), messageEventHandler);
    
  }
  if(customEventHandlers != null) {
    for (EventHandler eventHandler : customEventHandlers) {
      eventHandlers.put(eventHandler.getEventHandlerType(), eventHandler);        
    }
  }
}
 
開發者ID:springvelocity,項目名稱:xbpm5,代碼行數:21,代碼來源:ProcessEngineConfigurationImpl.java

示例4: ensureCompensateEventSubscriptionsInitialized

import org.activiti.engine.impl.event.CompensationEventHandler; //導入依賴的package包/類
@SuppressWarnings({ "unchecked" })
protected void ensureCompensateEventSubscriptionsInitialized() {
  if(compensateEventSubscriptions == null) {    
    compensateEventSubscriptions = (List)Context.getCommandContext()
      .getEventSubscriptionManager()
      .findEventSubscriptions(id, CompensationEventHandler.EVENT_HANDLER_TYPE);      
  }    
}
 
開發者ID:iotsap,項目名稱:FiWare-Template-Handler,代碼行數:9,代碼來源:ExecutionEntity.java

示例5: CompensateEventSubscriptionEntity

import org.activiti.engine.impl.event.CompensationEventHandler; //導入依賴的package包/類
private CompensateEventSubscriptionEntity(ExecutionEntity executionEntity) {
    super(executionEntity);
    eventType = CompensationEventHandler.EVENT_HANDLER_TYPE;
}
 
開發者ID:flowable,項目名稱:flowable-engine,代碼行數:5,代碼來源:CompensateEventSubscriptionEntity.java

示例6: CompensateEventSubscriptionEntity

import org.activiti.engine.impl.event.CompensationEventHandler; //導入依賴的package包/類
private CompensateEventSubscriptionEntity(ExecutionEntity executionEntity) {
  super(executionEntity);
  eventType=CompensationEventHandler.EVENT_HANDLER_TYPE;    
}
 
開發者ID:iotsap,項目名稱:FiWare-Template-Handler,代碼行數:5,代碼來源:CompensateEventSubscriptionEntity.java


注:本文中的org.activiti.engine.impl.event.CompensationEventHandler類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。