Class ImmutableSessionAttributeActivationNotifier<CC,S,L,SC>
java.lang.Object
org.wildfly.clustering.session.cache.attributes.fine.ImmutableSessionAttributeActivationNotifier<CC,S,L,SC>
- Type Parameters:
CC- the container context typeS- the container session typeL- the container session event listener typeSC- the session context type
- All Implemented Interfaces:
SessionAttributeActivationNotifier
public class ImmutableSessionAttributeActivationNotifier<CC,S,L,SC>
extends Object
implements SessionAttributeActivationNotifier
Triggers activation/passivation events for a single session attribute.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableSessionAttributeActivationNotifier(ContainerProvider<CC, S, L, SC> provider, S session) Creates a session activation notifier. -
Method Summary
Modifier and TypeMethodDescriptionvoidpostActivate(Object object) Notifies the specified attribute that it was activated, if interested.voidprePassivate(Object object) Notifies the specified attribute that it will be passivated, if interested.
-
Constructor Details
-
ImmutableSessionAttributeActivationNotifier
-
-
Method Details
-
prePassivate
Description copied from interface:SessionAttributeActivationNotifierNotifies the specified attribute that it will be passivated, if interested.- Specified by:
prePassivatein interfaceSessionAttributeActivationNotifier- Parameters:
object- an attribute value
-
postActivate
Description copied from interface:SessionAttributeActivationNotifierNotifies the specified attribute that it was activated, if interested.- Specified by:
postActivatein interfaceSessionAttributeActivationNotifier- Parameters:
object- an attribute value
-