Package com.vaadin.flow.server
Class SessionLockRequestedEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.server.AbstractSessionLockEvent
com.vaadin.flow.server.SessionLockRequestedEvent
- All Implemented Interfaces:
Serializable
Event fired through the
service event bus
when a Vaadin session lock is about to be requested, for the outermost
acquisition only.- Since:
- 25.3
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSessionLockRequestedEvent(VaadinService service) Creates a new event without a session.SessionLockRequestedEvent(VaadinService service, VaadinSession session) Creates a new event for the given session. -
Method Summary
Methods inherited from class com.vaadin.flow.server.AbstractSessionLockEvent
getService, getSession, getSourceMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SessionLockRequestedEvent
Creates a new event without a session.- Parameters:
service- the Vaadin service whose session lock is requested, notnull
-
SessionLockRequestedEvent
Creates a new event for the given session.- Parameters:
service- the Vaadin service whose session lock is requested, notnullsession- the Vaadin session the lock belongs to, ornullif it is not known
-