- All Superinterfaces:
EventListener
Deprecated.
An interface that defines the methods to be implemented by
classes that wish to listen for session lifecycle events.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDeprecated.Enumeration of the different events that can trigger the callback. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Invoked when a session lifecycle event occurs.
-
Method Details
-
onEvent
Deprecated.Invoked when a session lifecycle event occurs.- Parameters:
evt- the event that occurred
-
EventBus.subscribe(Class, boolean, Consumer)method for alternatives to adding listeners.