Class DistributableSessionRepository
java.lang.Object
org.wildfly.clustering.spring.session.DistributableSessionRepository
- All Implemented Interfaces:
org.springframework.session.FindByIndexNameSessionRepository<SpringSession>,org.springframework.session.SessionRepository<SpringSession>
public class DistributableSessionRepository
extends Object
implements org.springframework.session.FindByIndexNameSessionRepository<SpringSession>
A session repository implementation based on a
SessionManager.
Additionally indexes sessions using a set of UserManager instances.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.springframework.session.FindByIndexNameSessionRepository
PRINCIPAL_NAME_INDEX_NAME -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteById(String id) findByIndexNameAndIndexValue(String indexName, String indexValue) voidsave(SpringSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.session.FindByIndexNameSessionRepository
findByPrincipalName
-
Constructor Details
-
DistributableSessionRepository
-
-
Method Details
-
createSession
- Specified by:
createSessionin interfaceorg.springframework.session.SessionRepository<SpringSession>
-
findById
- Specified by:
findByIdin interfaceorg.springframework.session.SessionRepository<SpringSession>
-
deleteById
- Specified by:
deleteByIdin interfaceorg.springframework.session.SessionRepository<SpringSession>
-
save
- Specified by:
savein interfaceorg.springframework.session.SessionRepository<SpringSession>
-
findByIndexNameAndIndexValue
- Specified by:
findByIndexNameAndIndexValuein interfaceorg.springframework.session.FindByIndexNameSessionRepository<SpringSession>
-