wuxw
2019-02-07 c5aac73ec29f74904b544a722037b39bbb85ab3e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.java110.event.center.event;
 
import com.java110.core.context.IOrderDataFlowContext;
import com.java110.core.context.OrderDataFlow;
import com.java110.entity.order.Business;
 
/**
 * 调用业务系统事件
 * Created by wuxw on 2018/7/2.
 */
public class InvokeBusinessBSuccessEvent extends DataFlowEvent {
 
    private Business business;
 
    /**
     * Constructs a prototypical Event.
     *
     * @param source   The object on which the Event initially occurred.
     * @param dataFlow
     * @throws IllegalArgumentException if source is null.
     */
    public InvokeBusinessBSuccessEvent(Object source, IOrderDataFlowContext dataFlow, Business business) {
        super(source, dataFlow);
        this.business = business;
    }
 
    public Business getBusiness() {
        return business;
    }
}