| |
|
| java.lang.Object com.lutris.appserver.server.sessionEnhydra.StandardSessionManager com.lutris.appserver.server.sessionEnhydra.SimpleServletSessionManager
SimpleServletSessionManager | public class SimpleServletSessionManager extends StandardSessionManager (Code) | | This session manager extends StandardSessionManager
it obtains SessionId from the servletContainer and uses it to
create a new Enhydra session
version: $Revision: 1.2 $ author: DT |
Constructor Summary | |
public | SimpleServletSessionManager() | public | SimpleServletSessionManager(Application application, Config config, LogChannel sessionMgrLogChannel) Creates a new 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.
Parameters: app - the application associate with this sessionmanager. Parameters: config - Object parsed from configuration file. | public | SimpleServletSessionManager(ClassLoader classLoader, Config config, LogChannel sessionMgrLogChannel) Creates a new 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.
Parameters: app - the ClassLoader associate with this application. Parameters: config - Object parsed from configuration file. |
SimpleServletSessionManager | public SimpleServletSessionManager()(Code) | | |
SimpleServletSessionManager | public SimpleServletSessionManager(Application application, Config config, LogChannel sessionMgrLogChannel) throws ConfigException, SessionException(Code) | | Creates a new 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.
Parameters: app - the application associate with this sessionmanager. Parameters: config - Object parsed from configuration file. This should befor the section constaining the session manager configuration. Parameters: sessionMgrLogChannel - If not null , channel tolog debugging information to. exception: ConfigException - signifies a problem in theconfiguration file. exception: SessionException - if all classes (Home and UserTable) couldn't be loadedby the session manager. |
SimpleServletSessionManager | public SimpleServletSessionManager(ClassLoader classLoader, Config config, LogChannel sessionMgrLogChannel) throws ConfigException, SessionException(Code) | | Creates a new 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.
Parameters: app - the ClassLoader associate with this application. Parameters: config - Object parsed from configuration file. This should befor the section constaining the session manager configuration. Parameters: sessionMgrLogChannel - If not null , channel tolog debugging information to. exception: ConfigException - signifies a problem in theconfiguration file. exception: SessionException - if all classes (Home and UserTable) couldn't be loadedby the session manager. |
Methods inherited from com.lutris.appserver.server.sessionEnhydra.StandardSessionManager | public int activeSessionCount() throws SessionException(Code)(Java Doc) public void cleanUpIdleSessions() throws SessionException(Code)(Java Doc) public Session createSession() throws SessionException(Code)(Java Doc) public Session createSession(String ipPortToken) throws SessionException(Code)(Java Doc) public Session createSession(HttpPresentationComms comms) throws SessionException(Code)(Java Doc) protected void debug(int level, String msg)(Code)(Java Doc) public synchronized void deleteSession(Session session) throws SessionException(Code)(Java Doc) public synchronized void deleteSession(String sessionKey) throws SessionException(Code)(Java Doc) public boolean getEmptySessionPath()(Code)(Java Doc) public boolean getEncodeFirstUrl()(Code)(Java Doc) public String getEncodeUrlState()(Code)(Java Doc) public long getMaxNoUserSessionIdleTime()(Code)(Java Doc) public long getMaxSessionIdleTime()(Code)(Java Doc) public long getMaxSessionLifeTime()(Code)(Java Doc) public int getMode() throws SessionException(Code)(Java Doc) public synchronized Session getSaveSession(Thread thread, String sessionKey) throws SessionException(Code)(Java Doc) public synchronized Session getSession(String sessionKey) throws SessionException(Code)(Java Doc) public synchronized Session getSession(Thread thread, String sessionKey) throws SessionException(Code)(Java Doc) public synchronized Session getSession(Thread thread, String sessionKey, HttpPresentationComms comms) throws SessionException(Code)(Java Doc) public synchronized Enumeration getSessionKeys() throws SessionException(Code)(Java Doc) public synchronized Enumeration getSessionKeys(User user) throws SessionException(Code)(Java Doc) protected int isSessionExpired(StandardSession session)(Code)(Java Doc) protected StandardSessionHome loadSessionHome(Config config) throws ConfigException, SessionException(Code)(Java Doc) protected StandardSessionUserTable loadSessionUserTable(Config config) throws ConfigException, SessionException(Code)(Java Doc) public int maxSessionCount()(Code)(Java Doc) public Date maxSessionCountDate()(Code)(Java Doc) protected StandardSession newSession(String sessionKey) throws CreateSessionException, SessionException(Code)(Java Doc) public int pagedSessionCount() throws SessionException(Code)(Java Doc) public void passivateSession(Thread thread, String sessionKey) throws SessionException(Code)(Java Doc) protected synchronized void registerUser(Session session) throws SessionException(Code)(Java Doc) public void resetMaxSessionCount() throws SessionException(Code)(Java Doc) protected void sessionDeleted(Session session, int reason)(Code)(Java Doc) public synchronized boolean sessionExists(String sessionKey) throws SessionException(Code)(Java Doc) public void setMaxSessionIdleTime(long maxSessionIdleTime)(Code)(Java Doc) public synchronized void shutdown()(Code)(Java Doc) protected synchronized void unregisterUser(Session session) throws SessionException(Code)(Java Doc)
|
|
|
|