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(org.wildfly.clustering.session.spec.SessionSpecificationProvider<S, C> sessionProvider, org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<S, L> listenerProvider, org.wildfly.clustering.session.ImmutableSession session, C context) Create a activation notifier for an immutable session. -
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(org.wildfly.clustering.session.spec.SessionSpecificationProvider<S, C> sessionProvider, org.wildfly.clustering.session.spec.SessionEventListenerSpecificationProvider<S, L> listenerProvider, org.wildfly.clustering.session.ImmutableSession session, C context) Create a activation notifier for an immutable session.- Parameters:
sessionProvider- provider of specification viewslistenerProvider- provider of listener specification viewssession- an immutable sessioncontext- a session 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
-