Class ImmutableSessionActivationNotifier<S,C,L>
- java.lang.Object
-
- org.wildfly.clustering.web.cache.session.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
Constructors Constructor Description ImmutableSessionActivationNotifier(HttpSessionActivationListenerProvider<S,C,L> provider, ImmutableSession session, C context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostActivate()Notifies interested attributes that they are were activated.voidprePassivate()Notifies interested attributes that they will be passivated.
-
-
-
Constructor Detail
-
ImmutableSessionActivationNotifier
public ImmutableSessionActivationNotifier(HttpSessionActivationListenerProvider<S,C,L> provider, ImmutableSession session, C context)
-
-
Method Detail
-
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
-
-