Interface SessionAttributeActivationNotifier
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ImmutableSessionAttributeActivationNotifier
- Author:
- Paul Ferraro
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BiConsumer<SessionAttributeActivationNotifier,Object> static final BiConsumer<SessionAttributeActivationNotifier,Object> -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidpostActivate(Object value) Notifies the specified attribute that it was activated, if interested.voidprePassivate(Object value) Notifies the specified attribute that it will be passivated, if interested.
-
Field Details
-
PRE_PASSIVATE
-
POST_ACTIVATE
-
-
Method Details
-
prePassivate
Notifies the specified attribute that it will be passivated, if interested.- Parameters:
value- an attribute value
-
postActivate
Notifies the specified attribute that it was activated, if interested.- Parameters:
value- an attribute value
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-