Index

A C F G I O P R S T W 
All Classes and Interfaces|All Packages

A

addSessionInfo(T, SessionInfo) - Method in class org.tentackle.web.app.WebSessionKeyCache
Adds a mapping between a web session key and a session info.
This is usually done in the login controller.
addWebSession(T, SessionInfo) - Method in class org.tentackle.web.app.WebApplication
Adds a mapping between a web session key and a user's session info.
This is usually done in the login controller.

C

cleanup() - Method in class org.tentackle.web.app.WebApplication

F

finishStartup() - Method in class org.tentackle.web.app.WebApplication

G

getSession(T) - Method in class org.tentackle.web.app.WebApplication
Gets a persistence session from the session pool by a web session key.
getSessionInfo(T) - Method in class org.tentackle.web.app.WebSessionKeyCache
Gets the session info.
getSessionKeys(SessionInfo) - Method in class org.tentackle.web.app.WebApplication
Gets the web session keys for user session info.
getSessionKeys(SessionInfo) - Method in class org.tentackle.web.app.WebSessionKeyCache
Gets the session keys for a user session info.

I

isRunning() - Method in class org.tentackle.web.app.WebSessionKeyCache
Returns whether the session key cache has been started.
Only a started cache can be WebSessionKeyCache.terminate()d.

O

org.tentackle.web - module org.tentackle.web
Tentackle web module.
Bridges a web framework to a Tentackle tier without depending on any web API.
org.tentackle.web.app - package org.tentackle.web.app
The bridge between a web framework and a Tentackle tier: the web application and its web session key cache.

P

putSession(Session) - Method in class org.tentackle.web.app.WebApplication
Releases a persistence session.
Should be invoked after the response has been sent to the web client.

R

removeSessionInfo(T) - Method in class org.tentackle.web.app.WebSessionKeyCache
Removes a mapping between a web session key and a session info.
This is usually done in the logout controller.
removeWebSession(T) - Method in class org.tentackle.web.app.WebApplication
Removes a mapping between a web session key and user session info.
This is usually done in the logout controller.

S

startup(long) - Method in class org.tentackle.web.app.WebSessionKeyCache
Starts the session key cache.

T

terminate() - Method in class org.tentackle.web.app.WebSessionKeyCache
Terminates the session cache.

W

WebApplication<T> - Class in org.tentackle.web.app
The Tentackle side of a bridge to a web framework.
WebApplication(String, String) - Constructor for class org.tentackle.web.app.WebApplication
Creates an instance of a web application.
WebSessionKeyCache<T> - Class in org.tentackle.web.app
A cache mapping the web framework's session keys to the users' session infos.
WebSessionKeyCache() - Constructor for class org.tentackle.web.app.WebSessionKeyCache
Creates a session key cache.
A C F G I O P R S T W 
All Classes and Interfaces|All Packages