com.sdm.quasar.client.core.application
Interface SessionCreator
- All Known Implementing Classes:
- AbstractSessionCreator, SpringSessionCreator
- public interface SessionCreator
Encapsulates the creation of a new session instance.
The implementation must have a default constructor.
createSession
public Session createSession(SessionId sessionId,
Application application)
- Creates a new session instance with the given session id.
- Parameters:
sessionId - the session id for the new session instanceapplication - the application
- Returns:
- the new session instance