Skip Headers

# Session Event Listeners

Previous

Next

You can create session event listeners in two ways: either by implementing the `SessionEventListener` interface, or by extending the `SessionEventAdapter` class.

To register a `SessionEventListener` for session events, register it with a session using the `SessionEventManager` method `addListener`.

For more information, see "Configuring Session Event Listeners".