Class DefaultSessionManager
- java.lang.Object
-
- com.aspectran.core.component.AbstractComponent
-
- com.aspectran.core.component.session.AbstractSessionHandler
-
- com.aspectran.core.component.session.DefaultSessionManager
-
- All Implemented Interfaces:
Component
,SessionHandler
,SessionManager
public class DefaultSessionManager extends AbstractSessionHandler implements SessionManager
Implementation of SessionManager.Created: 2017. 6. 12.
-
-
Field Summary
-
Fields inherited from class com.aspectran.core.component.session.AbstractSessionHandler
sessionsCreatedStats, sessionTimeStats
-
-
Constructor Summary
Constructors Constructor Description DefaultSessionManager()
DefaultSessionManager(ActivityContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doDestroy()
protected void
doInitialize()
java.lang.String
getGroupName()
SessionConfig
getSessionConfig()
SessionDataStore
getSessionDataStore()
SessionHandler
getSessionHandler()
SessionAgent
newSessionAgent()
void
setGroupName(java.lang.String groupName)
void
setSessionConfig(SessionConfig sessionConfig)
void
setSessionDataStore(SessionDataStore sessionDataStore)
-
Methods inherited from class com.aspectran.core.component.session.AbstractSessionHandler
access, addEventListener, clearEventListeners, complete, didActivate, getDefaultMaxIdleSecs, getScheduler, getSession, getSessionCache, getSessionIdGenerator, getSessionsCreated, getSessionTimeMax, getSessionTimeMean, getSessionTimeStdDev, getSessionTimeTotal, invalidate, newSession, newSessionId, removeEventListener, sessionAttributeChanged, setDefaultMaxIdleSecs, setSessionCache, setSessionIdGenerator, statsReset, willPassivate
-
Methods inherited from class com.aspectran.core.component.AbstractComponent
destroy, getComponentName, initialize, isAvailable, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.aspectran.core.component.Component
destroy, getComponentName, initialize, isAvailable, isDestroyed, isInitialized
-
-
-
-
Constructor Detail
-
DefaultSessionManager
public DefaultSessionManager()
-
DefaultSessionManager
public DefaultSessionManager(ActivityContext context)
-
-
Method Detail
-
getGroupName
public java.lang.String getGroupName()
- Specified by:
getGroupName
in interfaceSessionManager
-
setGroupName
public void setGroupName(java.lang.String groupName)
- Specified by:
setGroupName
in interfaceSessionManager
-
getSessionConfig
public SessionConfig getSessionConfig()
- Specified by:
getSessionConfig
in interfaceSessionManager
-
setSessionConfig
public void setSessionConfig(SessionConfig sessionConfig)
- Specified by:
setSessionConfig
in interfaceSessionManager
-
getSessionDataStore
public SessionDataStore getSessionDataStore()
- Specified by:
getSessionDataStore
in interfaceSessionManager
-
setSessionDataStore
public void setSessionDataStore(SessionDataStore sessionDataStore)
- Specified by:
setSessionDataStore
in interfaceSessionManager
-
getSessionHandler
public SessionHandler getSessionHandler()
- Specified by:
getSessionHandler
in interfaceSessionManager
-
newSessionAgent
public SessionAgent newSessionAgent()
- Specified by:
newSessionAgent
in interfaceSessionManager
-
doInitialize
protected void doInitialize() throws java.lang.Exception
- Overrides:
doInitialize
in classAbstractSessionHandler
- Throws:
java.lang.Exception
-
doDestroy
protected void doDestroy() throws java.lang.Exception
- Overrides:
doDestroy
in classAbstractSessionHandler
- Throws:
java.lang.Exception
-
-