public class SessionFactory
extends java.lang.Object
Constructor and Description |
---|
SessionFactory() |
Modifier and Type | Method and Description |
---|---|
SessionImpl |
create(java.lang.String id,
long creationTime)
Creates a new session.
|
SessionManager |
getSessionManager()
Gets the session manager.
|
void |
init()
Initialize after all the attributes are set.
|
void |
setSessionManager(SessionManager manager)
Sets the session manager.
|
public void setSessionManager(SessionManager manager)
public SessionManager getSessionManager()
@PostConstruct public void init() throws ServletException
ServletException
public SessionImpl create(java.lang.String id, long creationTime) throws ServletException
id
- the session's idcreationTime
- the current timeServletException