com.vaadin.server
Class ApplicationStartedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.server.ApplicationStartedEvent
All Implemented Interfaces:
java.io.Serializable

public class ApplicationStartedEvent
extends java.util.EventObject

Event used by ApplicationStartedListener.applicationStarted(ApplicationStartedEvent) .

Since:
7.0.0
Author:
Vaadin Ltd
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ApplicationStartedEvent(AddonContext context, VaadinSession application)
          Creates a new event.
 
Method Summary
 VaadinSession getApplication()
          Gets the newly started Application.
 AddonContext getContext()
          Gets the add-on context from which this event originated.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationStartedEvent

public ApplicationStartedEvent(AddonContext context,
                               VaadinSession application)
Creates a new event.

Parameters:
context - the add-on context that will fire the event
application - the application that has been started
Method Detail

getContext

public AddonContext getContext()
Gets the add-on context from which this event originated.

Returns:
the add-on context that fired the

getApplication

public VaadinSession getApplication()
Gets the newly started Application.

Returns:
the newly created application


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.