package com.cmvr.test.flow.runtime.interceptor;

import com.cmvr.test.flow.runtime.event.FlowExecutionEventPublisher;

/**
 * 流程消息前置处理
 */
public abstract class AbstractFlowMsgPreInterceptor implements FlowMsgPreInterceptor {

    protected final FlowExecutionEventPublisher eventPublisher;

    // 构造注入，子类实例化时由spring注入
    public AbstractFlowMsgPreInterceptor(FlowExecutionEventPublisher eventPublisher) {
        this.eventPublisher = eventPublisher;
    }
}
