| Package | Description |
|---|---|
| com.amadeus.session |
Contains classes that provide generic session management including remote
storage.
|
| Modifier and Type | Method and Description |
|---|---|
RepositoryBackedSession |
SessionFactory.build(SessionData sessionData)
Builds instance of session based on passed
SessionData. |
RepositoryBackedSession |
DefaultSessionFactory.build(SessionData sessionData) |
RepositoryBackedSession |
RequestWithSession.getRepositoryBackedSession(boolean create)
Returns the
RepositoryBackedSession associated with this request. |
RepositoryBackedSession |
SessionManager.getSession(RequestWithSession request,
boolean create,
String forceId)
Builds or retrieves session.
|
protected RepositoryBackedSession |
DefaultSessionFactory.newSessionObject(SessionData sessionData)
Creates new memory representation of session based on session data.
|
protected RepositoryBackedSession |
DefaultSessionFactory.wrapSession(RepositoryBackedSession oldSession)
Wraps old session object into a new one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionNotifier.attributeAdded(RepositoryBackedSession session,
String key,
Object value)
Invoked when an attribute is added to session.
|
void |
SessionNotifier.attributeBeingStored(RepositoryBackedSession session,
String key,
Object value)
Invoked when an attribute is being stored in repository.
|
void |
SessionNotifier.attributeHasBeenRestored(RepositoryBackedSession session,
String key,
Object value)
Invoked when an attribute has been retrieved from repository.
|
void |
SessionNotifier.attributeRemoved(RepositoryBackedSession session,
String key,
Object removedValue)
Invoked when an attribute is removed from the session.
|
void |
SessionNotifier.attributeReplaced(RepositoryBackedSession session,
String key,
Object replacedValue)
Invoked when an attribute value is replaced with a new one in the session.
|
void |
SessionFactory.committed(RepositoryBackedSession session)
Called by each session when it is committed.
|
void |
DefaultSessionFactory.committed(RepositoryBackedSession session)
Called by each session when it is committed.
|
void |
SessionManager.invalidationConflict(RepositoryBackedSession session,
boolean onExpiry)
Called by
RepositoryBackedSession when a conflict occurs during
invalidation of session. |
void |
SessionManager.invokeCommit(RepositoryBackedSession session)
Calls
RepositoryBackedSession.Committer for the passed RepositoryBackedSession and
measures time of execution. |
void |
SessionNotifier.sessionCreated(RepositoryBackedSession session)
Invoked after a session has been created.
|
void |
SessionNotifier.sessionDestroyed(RepositoryBackedSession session,
boolean shutdown)
Invoked when a session will be destroyed.
|
void |
SessionNotifier.sessionIdChanged(RepositoryBackedSession session,
String oldId)
Invoked when the session id changes.
|
void |
SessionManager.switchSessionId(RepositoryBackedSession session)
Changes session id of the passed session.
|
protected RepositoryBackedSession |
DefaultSessionFactory.wrapSession(RepositoryBackedSession oldSession)
Wraps old session object into a new one.
|
| Constructor and Description |
|---|
RepositoryBackedSession(RepositoryBackedSession linked) |
Copyright © 2018 Amadeus s.a.s.. All rights reserved.