|
||||||||||
| 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 Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SessionInitEvent(VaadinService service,
VaadinServiceSession 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 |
VaadinServiceSession |
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,
VaadinServiceSession 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 initialization| Method Detail |
|---|
public VaadinService getSource()
getSource in class java.util.EventObjectpublic VaadinService getService()
public VaadinServiceSession getSession()
public VaadinRequest getRequest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||