S - the specification type for the HttpSessionC - the specification type for the ServletContextL - the specification type for the HttpSessionActivationListenerpublic interface HttpSessionActivationListenerProvider<S,C,L> extends HttpSessionFactory<S,C>
| Modifier and Type | Method and Description |
|---|---|
L |
createListener(Consumer<S> prePassivate,
Consumer<S> postActivate)
Creates a specification implementation with the specified pre-passivate and post-activate logic.
|
Class<L> |
getHttpSessionActivationListenerClass()
Returns the HttpSessionActivationListener specification interface.
|
Consumer<S> |
postActivateNotifier(L listener)
Creates a post-activate notifier for the specified listener.
|
Consumer<S> |
prePassivateNotifier(L listener)
Creates a pre-passivate notifier for the specified listener.
|
createHttpSessionClass<L> getHttpSessionActivationListenerClass()
Consumer<S> prePassivateNotifier(L listener)
listener - the specification listenerConsumer<S> postActivateNotifier(L listener)
listener - the specification listenerL createListener(Consumer<S> prePassivate, Consumer<S> postActivate)
prePassivate - a pre-passivate event consumer for a sessionpostActivate - a post-activate event consumer for a sessionCopyright © 2020 JBoss by Red Hat. All rights reserved.