wuxw7
2018-11-17 ab9b63cd51ade836a883a59bff6c419c771a9d98
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
31
32
33
34
35
36
37
38
39
40
41
package com.java110.event.service.api;
 
import com.java110.core.context.DataFlowContext;
import com.java110.entity.center.AppService;
 
import java.util.EventObject;
 
/**
 *
 * 服务事件
 * Created by wuxw on 2018/5/18.
 */
public class ServiceDataFlowEvent extends EventObject {
 
    private DataFlowContext dataFlowContext;
    private AppService appService;
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public ServiceDataFlowEvent(Object source, DataFlowContext dataFlowContext,AppService appService) {
        super(source);
        this.dataFlowContext = dataFlowContext;
        this.appService = appService;
    }
 
 
    public DataFlowContext getDataFlowContext() {
        return dataFlowContext;
    }
 
    /*public void setDataFlowContext(DataFlowContext dataFlowContext) {
        this.dataFlowContext = dataFlowContext;
    }*/
 
    public AppService getAppService(){
        return appService;
    }
}