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
  • Constructor Details

  • Method Details

    • createSession

      public SpringSession createSession()
      Specified by:
      createSession in interface org.springframework.session.SessionRepository<SpringSession>
    • findById

      public SpringSession findById(String id)
      Specified by:
      findById in interface org.springframework.session.SessionRepository<SpringSession>
    • deleteById

      public void deleteById(String id)
      Specified by:
      deleteById in interface org.springframework.session.SessionRepository<SpringSession>
    • save

      public void save(SpringSession session)
      Specified by:
      save in interface org.springframework.session.SessionRepository<SpringSession>
    • findByIndexNameAndIndexValue

      public Map<String,SpringSession> findByIndexNameAndIndexValue(String indexName, String indexValue)
      Specified by:
      findByIndexNameAndIndexValue in interface org.springframework.session.FindByIndexNameSessionRepository<SpringSession>