public class CachingSessionDataStoreFactory extends AbstractSessionDataStoreFactory
Modifier and Type | Field and Description |
---|---|
protected SessionDataMapFactory |
_mapFactory |
protected SessionDataStoreFactory |
_sessionStoreFactory
The SessionDataStore that will store session data.
|
Constructor and Description |
---|
CachingSessionDataStoreFactory() |
Modifier and Type | Method and Description |
---|---|
SessionDataMapFactory |
getMapFactory() |
SessionDataStore |
getSessionDataStore(SessionHandler handler) |
void |
setSessionDataMapFactory(SessionDataMapFactory mapFactory) |
void |
setSessionStoreFactory(SessionDataStoreFactory factory) |
getGracePeriodSec, setGracePeriodSec
protected SessionDataStoreFactory _sessionStoreFactory
protected SessionDataMapFactory _mapFactory
public SessionDataMapFactory getMapFactory()
public void setSessionDataMapFactory(SessionDataMapFactory mapFactory)
mapFactory
- the SessionDataMapFactorypublic void setSessionStoreFactory(SessionDataStoreFactory factory)
factory
- The factory for the actual SessionDataStore that the
CachingSessionDataStore will delegate topublic SessionDataStore getSessionDataStore(SessionHandler handler) throws Exception
Copyright © 1995–2017 Webtide. All rights reserved.