Class ImmutableSessionActivationNotifier<S,C,L>
java.lang.Object
org.wildfly.clustering.session.cache.attributes.coarse.ImmutableSessionActivationNotifier<S,C,L>
- Type Parameters:
S- the HttpSession specification typeC- the ServletContext specification typeL- the HttpSessionActivationListener specification type
- All Implemented Interfaces:
SessionActivationNotifier
public class ImmutableSessionActivationNotifier<S,C,L>
extends Object
implements SessionActivationNotifier
Triggers activation/passivation events for all attributes of a session.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableSessionActivationNotifier(SessionActivationListenerFacadeProvider<S, C, L> provider, ImmutableSession session, C context) -
Method Summary
Modifier and TypeMethodDescriptionvoidNotifies interested attributes that they are were activated.voidNotifies interested attributes that they will be passivated.
-
Constructor Details
-
ImmutableSessionActivationNotifier
public ImmutableSessionActivationNotifier(SessionActivationListenerFacadeProvider<S, C, L> provider, ImmutableSession session, C context)
-
-
Method Details
-
prePassivate
public void prePassivate()Description copied from interface:SessionActivationNotifierNotifies interested attributes that they will be passivated.- Specified by:
prePassivatein interfaceSessionActivationNotifier
-
postActivate
public void postActivate()Description copied from interface:SessionActivationNotifierNotifies interested attributes that they are were activated.- Specified by:
postActivatein interfaceSessionActivationNotifier
-