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:
DisposableBean
,ApplicationAdapterAware
,Aware
,Component
,SessionHandler
,SessionManager
public class DefaultSessionManager extends AbstractSessionHandler implements SessionManager, ApplicationAdapterAware, DisposableBean
Implementation of SessionManager.Created: 2017. 6. 12.
-
-
Constructor Summary
Constructors Constructor Description DefaultSessionManager()
DefaultSessionManager(java.lang.String workerName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doInitialize()
ApplicationAdapter
getApplicationAdapter()
SessionHandler
getSessionHandler()
void
setApplicationAdapter(ApplicationAdapter applicationAdapter)
void
setSessionManagerConfig(SessionManagerConfig sessionManagerConfig)
void
setSessionManagerConfigWithApon(java.lang.String apon)
void
setSessionStoreFactory(SessionStoreFactory sessionStoreFactory)
-
Methods inherited from class com.aspectran.core.component.session.AbstractSessionHandler
addSessionListener, clearSessionListeners, createSession, createSessionId, doDestroy, fireSessionAttributeListeners, fireSessionDestroyedListeners, getComponentName, getDefaultMaxIdleSecs, getHouseKeeper, getScheduler, getSession, getSessionCache, getSessionIdGenerator, getSessionTimeMax, getSessionTimeMean, getSessionTimeStdDev, getSessionTimeTotal, getWorkerName, invalidate, invalidate, recordSessionTime, releaseSession, removeSession, removeSession, removeSessionListener, renewSessionId, scavenge, sessionInactivityTimerExpired, setDefaultMaxIdleSecs, setHouseKeeper, setSessionCache, setSessionIdGenerator, setWorkerName, statsReset
-
Methods inherited from class com.aspectran.core.component.AbstractComponent
destroy, initialize, isAvailable, isDestroyed, isDestroying, 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, isDestroying, isInitialized
-
Methods inherited from interface com.aspectran.core.component.bean.ablility.DisposableBean
destroy
-
-
-
-
Method Detail
-
getApplicationAdapter
public ApplicationAdapter getApplicationAdapter()
-
setApplicationAdapter
public void setApplicationAdapter(ApplicationAdapter applicationAdapter)
- Specified by:
setApplicationAdapter
in interfaceApplicationAdapterAware
-
setSessionManagerConfig
public void setSessionManagerConfig(SessionManagerConfig sessionManagerConfig)
-
setSessionManagerConfigWithApon
public void setSessionManagerConfigWithApon(java.lang.String apon)
-
setSessionStoreFactory
public void setSessionStoreFactory(SessionStoreFactory sessionStoreFactory)
-
getSessionHandler
public SessionHandler getSessionHandler()
- Specified by:
getSessionHandler
in interfaceSessionManager
-
doInitialize
protected void doInitialize() throws java.lang.Exception
- Overrides:
doInitialize
in classAbstractSessionHandler
- Throws:
java.lang.Exception
-
-