Package org.wildfly.extension.undertow
Class InMemoryModularPersistentSessionManager
java.lang.Object
org.wildfly.extension.undertow.AbstractPersistentSessionManager
org.wildfly.extension.undertow.InMemoryModularPersistentSessionManager
- All Implemented Interfaces:
io.undertow.servlet.api.SessionPersistenceManager,org.jboss.msc.Service,org.jboss.msc.service.Service<io.undertow.servlet.api.SessionPersistenceManager>,org.jboss.msc.value.Value<io.undertow.servlet.api.SessionPersistenceManager>
Persistent session manager that simply stores the session information in a map
- Author:
- Stuart Douglas, Richard Opalka
-
Nested Class Summary
Nested classes/interfaces inherited from class org.wildfly.extension.undertow.AbstractPersistentSessionManager
AbstractPersistentSessionManager.SessionEntryNested classes/interfaces inherited from interface io.undertow.servlet.api.SessionPersistenceManager
io.undertow.servlet.api.SessionPersistenceManager.PersistentSession -
Field Summary
Fields inherited from class org.wildfly.extension.undertow.AbstractPersistentSessionManager
SERVICE_NAMEFields inherited from interface org.jboss.msc.service.Service
NULL -
Method Summary
Modifier and TypeMethodDescriptionloadSerializedSessions(String deploymentName) protected voidpersistSerializedSessions(String deploymentName, Map<String, AbstractPersistentSessionManager.SessionEntry> serializedData) Methods inherited from class org.wildfly.extension.undertow.AbstractPersistentSessionManager
clear, createMarshaller, createUnmarshaller, getValue, loadSessionAttributes, persistSessions, start, stop
-
Method Details
-
persistSerializedSessions
protected void persistSerializedSessions(String deploymentName, Map<String, AbstractPersistentSessionManager.SessionEntry> serializedData) - Specified by:
persistSerializedSessionsin classAbstractPersistentSessionManager
-
loadSerializedSessions
protected Map<String,AbstractPersistentSessionManager.SessionEntry> loadSerializedSessions(String deploymentName) - Specified by:
loadSerializedSessionsin classAbstractPersistentSessionManager
-