Interface SessionAttributeActivationNotifier
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ImmutableSessionAttributeActivationNotifier
public interface SessionAttributeActivationNotifier extends AutoCloseable
- Author:
- Paul Ferraro
-
-
Field Summary
Fields Modifier and Type Field Description static BiConsumer<SessionAttributeActivationNotifier,Object>POST_ACTIVATEstatic BiConsumer<SessionAttributeActivationNotifier,Object>PRE_PASSIVATE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()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 Detail
-
PRE_PASSIVATE
static final BiConsumer<SessionAttributeActivationNotifier,Object> PRE_PASSIVATE
-
POST_ACTIVATE
static final BiConsumer<SessionAttributeActivationNotifier,Object> POST_ACTIVATE
-
-
Method Detail
-
prePassivate
void prePassivate(Object value)
Notifies the specified attribute that it will be passivated, if interested.
-
postActivate
void postActivate(Object value)
Notifies the specified attribute that it was activated, if interested.
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-