public interface SessionNotifier
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(RepositoryBackedSession session,
String key,
Object value)
Invoked when an attribute is added to session.
|
void |
attributeBeingStored(RepositoryBackedSession session,
String key,
Object value)
Invoked when an attribute is being stored in repository.
|
void |
attributeHasBeenRestored(RepositoryBackedSession session,
String key,
Object value)
Invoked when an attribute has been retrieved from repository.
|
void |
attributeRemoved(RepositoryBackedSession session,
String key,
Object removedValue)
Invoked when an attribute is removed from the session.
|
void |
attributeReplaced(RepositoryBackedSession session,
String key,
Object replacedValue)
Invoked when an attribute value is replaced with a new one in the session.
|
void |
sessionCreated(RepositoryBackedSession session)
Invoked after a session has been created.
|
void |
sessionDestroyed(RepositoryBackedSession session,
boolean shutdown)
Invoked when a session will be destroyed.
|
void |
sessionIdChanged(RepositoryBackedSession session,
String oldId)
Invoked when the session id changes.
|
void sessionCreated(RepositoryBackedSession session)
session - the session that is being createdvoid sessionDestroyed(RepositoryBackedSession session, boolean shutdown)
session - the session that is being destroyedshutdown - set to true when called during application shutdownvoid attributeAdded(RepositoryBackedSession session, String key, Object value)
session - where the operation takes placekey - name of the attributevalue - value of the attributevoid attributeReplaced(RepositoryBackedSession session, String key, Object replacedValue)
session - where the operation takes placekey - name of the attributereplacedValue - old value of the attributevoid attributeRemoved(RepositoryBackedSession session, String key, Object removedValue)
session - where the operation takes placekey - name of the attributeremovedValue - old value of the attributevoid attributeBeingStored(RepositoryBackedSession session, String key, Object value)
session - where the operation takes placekey - name of the attributevalue - value of the attributevoid attributeHasBeenRestored(RepositoryBackedSession session, String key, Object value)
session - where the operation takes placekey - name of the attributevalue - value of the attributevoid sessionIdChanged(RepositoryBackedSession session, String oldId)
session - where the operation takes placeoldId - old session idCopyright © 2018 Amadeus s.a.s.. All rights reserved.