summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/server/ApplicationStartedEvent.java
blob: 339b88222e8e1f3ff3951af487bdc6a9f2ed1127 (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(AddonContext context,
            Application application) {
        super(context);
        this.application = application;
    }

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

    public Application getApplication() {
        return application;
    }

}