com.sdm.quasar.client.core.application.dialog.impl
Class AbstractSessionCreator
java.lang.Object
com.sdm.quasar.client.core.application.dialog.impl.AbstractSessionCreator
- All Implemented Interfaces:
- SessionCreator
- Direct Known Subclasses:
- DefaultSessionCreator, SpringSessionCreator
- public abstract class AbstractSessionCreator
- extends java.lang.Object
- implements SessionCreator
- Version:
- 1.$Revision$
- Author:
- Thomas Wolf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSessionCreator
public AbstractSessionCreator()
- Creates a new
AbstractSessionCreator.
createSessionDialogInstanceId
protected DialogInstanceId createSessionDialogInstanceId(DialogManager dialogManager)
- Creates a dialog representing the session to be the root dialog for all other dialogs.
Thus services and features may be installed or used within the session as well.
- Parameters:
dialogManager - the dialog manager to create the first dialog weneathe the root node
- Returns:
- The
RootControl for the session dialog
createAndActivateSession
protected Session createAndActivateSession(SessionId sessionId,
SessionManager sessionManager,
DialogInstanceId sessionDialogInstanceId,
DialogManager dialogManager,
DialogServiceManager dialogServiceManager,
DisposeCallback disposeCallback)
- A Session is created. This session is an adapter to the dialog representing the session.
- Parameters:
sessionId - The id of the session.sessionManager - The SessionManager managing sessionssessionDialogInstanceId - The DialogInstanceId of the root session dialg.dialogManager - the DialogManager managing the dialogs of the sessiondialogServiceManager - the DialogServiceManager useddisposeCallback - a callback, that is called, when the session dialog is disposed
- Returns:
- a
Session implementation