summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/server/ApplicationStartedEvent.java
blob: 33859f5605f73a4e75962c7b494147dbe1123b9d (plain)
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
/* 
@VaadinApache2LicenseForJavaFiles@
 */

package com.vaadin.terminal.gwt.server;

import java.util.EventObject;

import com.vaadin.Application;

public class ApplicationStartedEvent extends EventObject {
    private final Application application;

    public ApplicationStartedEvent(VaadinContext context,
            Application application) {
        super(context);
        this.application = application;
    }

    public VaadinContext getContext() {
        return (VaadinContext) getSource();
    }

    public Application getApplication() {
        return application;
    }

}