|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.vaadin.server.SessionInitEvent
public class SessionInitEvent
Event gets fired when a new Vaadin service session is initialized for a Vaadin service.
Because of the way different service instances share the same session, the event is not necessarily fired immediately when the session is created but only when the first request for that session is handled by a specific service.
SessionInitListener.sessionInit(SessionInitEvent)
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SessionInitEvent(VaadinService service,
VaadinSession session,
VaadinRequest request)
Creates a new event. |
Method Summary | |
---|---|
VaadinRequest |
getRequest()
Gets the request that triggered the initialization. |
VaadinService |
getService()
Gets the Vaadin service from which this event originates |
VaadinSession |
getSession()
Gets the Vaadin service session that has been initialized. |
VaadinService |
getSource()
|
Methods inherited from class java.util.EventObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SessionInitEvent(VaadinService service, VaadinSession session, VaadinRequest request)
service
- the Vaadin service from which the event originatessession
- the Vaadin service session that has been initializedrequest
- the request that triggered the initializationMethod Detail |
---|
public VaadinService getSource()
getSource
in class java.util.EventObject
public VaadinService getService()
public VaadinSession getSession()
public VaadinRequest getRequest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |