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 voiddoDestroy()protected voiddoInitialize()java.lang.StringgetGroupName()SessionConfiggetSessionConfig()SessionDataStoregetSessionDataStore()SessionHandlergetSessionHandler()SessionAgentnewSessionAgent()voidsetGroupName(java.lang.String groupName)voidsetSessionConfig(SessionConfig sessionConfig)voidsetSessionDataStore(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:
getGroupNamein interfaceSessionManager
-
setGroupName
public void setGroupName(java.lang.String groupName)
- Specified by:
setGroupNamein interfaceSessionManager
-
getSessionConfig
public SessionConfig getSessionConfig()
- Specified by:
getSessionConfigin interfaceSessionManager
-
setSessionConfig
public void setSessionConfig(SessionConfig sessionConfig)
- Specified by:
setSessionConfigin interfaceSessionManager
-
getSessionDataStore
public SessionDataStore getSessionDataStore()
- Specified by:
getSessionDataStorein interfaceSessionManager
-
setSessionDataStore
public void setSessionDataStore(SessionDataStore sessionDataStore)
- Specified by:
setSessionDataStorein interfaceSessionManager
-
getSessionHandler
public SessionHandler getSessionHandler()
- Specified by:
getSessionHandlerin interfaceSessionManager
-
newSessionAgent
public SessionAgent newSessionAgent()
- Specified by:
newSessionAgentin interfaceSessionManager
-
doInitialize
protected void doInitialize() throws java.lang.Exception- Overrides:
doInitializein classAbstractSessionHandler- Throws:
java.lang.Exception
-
doDestroy
protected void doDestroy() throws java.lang.Exception- Overrides:
doDestroyin classAbstractSessionHandler- Throws:
java.lang.Exception
-
-