S - the HttpSession specification typeC - the ServletContext specification typeL - the HttpSessionActivationListener specification typepublic class ImmutableSessionAttributeActivationNotifier<S,C,L> extends Object implements SessionAttributeActivationNotifier
POST_ACTIVATE, PRE_PASSIVATE| Constructor and Description |
|---|
ImmutableSessionAttributeActivationNotifier(HttpSessionActivationListenerProvider<S,C,L> provider,
ImmutableSession session,
C context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
postActivate(Object object)
Notifies the specified attribute that it was activated, if interested.
|
void |
prePassivate(Object object)
Notifies the specified attribute that it will be passivated, if interested.
|
public ImmutableSessionAttributeActivationNotifier(HttpSessionActivationListenerProvider<S,C,L> provider, ImmutableSession session, C context)
public void prePassivate(Object object)
SessionAttributeActivationNotifierprePassivate in interface SessionAttributeActivationNotifierpublic void postActivate(Object object)
SessionAttributeActivationNotifierpostActivate in interface SessionAttributeActivationNotifierpublic void close()
close in interface AutoCloseableclose in interface SessionAttributeActivationNotifierCopyright © 2022 JBoss by Red Hat. All rights reserved.