T - type of the session identifierpublic class SessionStorage<T>
extends java.lang.Object
| Constructor and Description |
|---|
SessionStorage(SessionIdentifierFactory<T> identifierFactory)
Constructs a new object.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getSessionIdentifier(java.lang.String sessionId)
Retrieves the identifier for the given session.If no identifier exists
a new identifier is created using the
SessionIdentifierFactory. |
void |
releaseSession(java.lang.String sessionId)
Removes the identifier from the list of known session identifiers.
|
public SessionStorage(SessionIdentifierFactory<T> identifierFactory)
identifierFactory - the factory for new session identifiers.public T getSessionIdentifier(java.lang.String sessionId)
SessionIdentifierFactory.sessionId - the Id of the JVoiceXML sessionnull if the given session is
null.public void releaseSession(java.lang.String sessionId)
sessionId - the Id of the JVoiceXML session