Class ImmutableSessionActivationNotifier<CC,S,L,SC>
java.lang.Object
org.wildfly.clustering.session.cache.attributes.coarse.ImmutableSessionActivationNotifier<CC,S,L,SC>
- Type Parameters:
CC- the container context typeS- the container session typeL- the container listener typeSC- the session context type
- All Implemented Interfaces:
SessionActivationNotifier
public class ImmutableSessionActivationNotifier<CC,S,L,SC>
extends Object
implements SessionActivationNotifier
Triggers activation/passivation events for all attributes of a session.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableSessionActivationNotifier(ContainerProvider<CC, S, L, SC> provider, S session, Collection<Object> attributes) 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(ContainerProvider<CC, S, L, SC> provider, S session, Collection<Object> attributes) Create a activation notifier for an immutable session.- Parameters:
provider- the container providersession- an immutable sessionattributes- the attributes of this session
-
-
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
-