@FlowListener public class DefaultFlowListener extends Object
监听所有流程发生的事件,然后将事件转发给对应流程的特定流程监听器(@TheFlowListener)
| 构造器和说明 |
|---|
DefaultFlowListener(EventBusHub eventBusHub) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
listenDecidedNodeEvent(DecidedNodeEvent event) |
void |
listenExecutingNodeEvent(ExecutingNodeEvent event) |
void |
listenFlowEndEvent(FlowEndEvent event) |
void |
listenFlowExceptionEvent(FlowExceptionEvent event) |
void |
listenFlowStartEvent(FlowStartEvent event) |
void |
listenStateNodeDecidedEvent(DecidedStateNodeEvent event) |
public DefaultFlowListener(EventBusHub eventBusHub)
@Listen public void listenFlowStartEvent(FlowStartEvent event)
@Listen public void listenExecutingNodeEvent(ExecutingNodeEvent event)
@Listen public void listenDecidedNodeEvent(DecidedNodeEvent event)
@Listen public void listenStateNodeDecidedEvent(DecidedStateNodeEvent event)
@Listen public void listenFlowExceptionEvent(FlowExceptionEvent event)
@Listen public void listenFlowEndEvent(FlowEndEvent event)
Copyright © 2020. All rights reserved.