public interface SessionFactory
RepositoryBackedSession
instances based on passed SessionData.| Modifier and Type | Method and Description |
|---|---|
RepositoryBackedSession |
build(SessionData sessionData)
Builds instance of session based on passed
SessionData. |
void |
committed(RepositoryBackedSession session)
Called by each session when it is committed.
|
void |
sessionIdChange(SessionData sessionData)
Called by session manager to notify session factory that session id has
changed.
|
void |
setSessionManager(SessionManager sessionManager)
Callback to associated
SessionManager with this instance of factory. |
RepositoryBackedSession build(SessionData sessionData)
SessionData.sessionData - the descriptor of the session to buildRepositoryBackedSessionvoid setSessionManager(SessionManager sessionManager)
SessionManager with this instance of factory.sessionManager - SessionManager to use with this factory.void sessionIdChange(SessionData sessionData)
sessionData - the descriptor of the session whose id changesvoid committed(RepositoryBackedSession session)
session - the session being committedCopyright © 2018 Amadeus s.a.s.. All rights reserved.