|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.session.SessionFactory
public class SessionFactory
A factory for creating sessions.
Constructor Summary | |
---|---|
SessionFactory()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionFactory()
Method Detail |
---|
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 time
ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |