|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sessionEnhydra.StandardSessionManager
com.lutris.appserver.server.sessionEnhydra.SimpleServletSessionManager
public class SimpleServletSessionManager
This session manager extends StandardSessionManager
it obtains SessionId from the servletContainer and uses it to
create a new Enhydra session
Field Summary |
---|
Constructor Summary | |
---|---|
SimpleServletSessionManager()
|
|
SimpleServletSessionManager(com.lutris.appserver.server.Application application,
com.lutris.util.Config config,
com.lutris.logging.LogChannel sessionMgrLogChannel)
Creates a new SessionManager object. |
|
SimpleServletSessionManager(java.lang.ClassLoader classLoader,
com.lutris.util.Config config,
com.lutris.logging.LogChannel sessionMgrLogChannel)
Creates a new SessionManager object. |
Method Summary | |
---|---|
com.lutris.appserver.server.session.Session |
createSession(HttpPresentationComms comms)
Create a new Session object. |
Methods inherited from class com.lutris.appserver.server.sessionEnhydra.StandardSessionManager |
---|
activeSessionCount, cleanUpIdleSessions, createSession, createSession, debug, deleteSession, deleteSession, getEmptySessionPath, getEncodeFirstUrl, getEncodeUrlState, getMaxNoUserSessionIdleTime, getMaxSessionIdleTime, getMaxSessionLifeTime, getMode, getSaveSession, getSession, getSession, getSession, getSessionKeys, getSessionKeys, isSessionExpired, loadSessionHome, loadSessionUserTable, maxSessionCount, maxSessionCountDate, newSession, pagedSessionCount, passivateSession, registerUser, resetMaxSessionCount, sessionDeleted, sessionExists, setMaxSessionIdleTime, shutdown, unregisterUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleServletSessionManager()
public SimpleServletSessionManager(com.lutris.appserver.server.Application application, com.lutris.util.Config config, com.lutris.logging.LogChannel sessionMgrLogChannel) throws com.lutris.util.ConfigException, com.lutris.appserver.server.session.SessionException
SessionManager
object.
This constructor will first looks for the session manager
configuration parameters that have the specified configuration
prefix prepended to the standard session manager configuration
option.
app
- the application associate with this session
manager.config
- Object parsed from configuration file. This should be
for the section constaining the session manager configuration.sessionMgrLogChannel
- If not null
, channel to
log debugging information to.
com.lutris.util.ConfigException
- signifies a problem in the
configuration file.
com.lutris.appserver.server.session.SessionException
- if all classes (Home and UserTable) couldn't be loaded
by the session manager.public SimpleServletSessionManager(java.lang.ClassLoader classLoader, com.lutris.util.Config config, com.lutris.logging.LogChannel sessionMgrLogChannel) throws com.lutris.util.ConfigException, com.lutris.appserver.server.session.SessionException
SessionManager
object.
This constructor will first looks for the session manager
configuration parameters that have the specified configuration
prefix prepended to the standard session manager configuration
option.
app
- the ClassLoader associate with this application.config
- Object parsed from configuration file. This should be
for the section constaining the session manager configuration.sessionMgrLogChannel
- If not null
, channel to
log debugging information to.
com.lutris.util.ConfigException
- signifies a problem in the
configuration file.
com.lutris.appserver.server.session.SessionException
- if all classes (Home and UserTable) couldn't be loaded
by the session manager.Method Detail |
---|
public com.lutris.appserver.server.session.Session createSession(HttpPresentationComms comms) throws com.lutris.appserver.server.session.SessionException
Session
object.
createSession
in interface com.lutris.appserver.server.session.SessionManager
createSession
in class StandardSessionManager
comms
- the HttpPresentationComms object used for geting existing
Session object ID.
Session
object.
com.lutris.appserver.server.session.SessionException
- if the session cannot be created.Session
|
EAF 7.4 Implementation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |