Package io.jmix.sessions
Class SessionRepositoryWrapper<S extends org.springframework.session.Session>
java.lang.Object
io.jmix.sessions.SessionRepositoryWrapper<S>
- All Implemented Interfaces:
 org.springframework.session.FindByIndexNameSessionRepository<SessionRepositoryWrapper<S>.SessionWrapper>,org.springframework.session.SessionRepository<SessionRepositoryWrapper<S>.SessionWrapper>
public class SessionRepositoryWrapper<S extends org.springframework.session.Session>
extends Object
implements org.springframework.session.FindByIndexNameSessionRepository<SessionRepositoryWrapper<S>.SessionWrapper>
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationEventPublisherprotected org.springframework.session.SessionRepository<S>protected org.springframework.security.core.session.SessionRegistryFields inherited from interface org.springframework.session.FindByIndexNameSessionRepository
PRINCIPAL_NAME_INDEX_NAME - 
Constructor Summary
ConstructorsConstructorDescriptionSessionRepositoryWrapper(org.springframework.security.core.session.SessionRegistry sessionRegistry, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, org.springframework.session.SessionRepository<S> delegate)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteById(String id) findByIndexNameAndIndexValue(String indexName, String indexValue) voidsave(SessionRepositoryWrapper<S>.SessionWrapper session) voidsetAttributePersistenceValidators(List<SessionAttributePersistenceValidator> attributePersistenceValidators) 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 
- 
Field Details
- 
nonPersistentSessionAttributesMap
 - 
delegate
protected org.springframework.session.SessionRepository<S extends org.springframework.session.Session> delegate - 
sessionRegistry
protected org.springframework.security.core.session.SessionRegistry sessionRegistry - 
applicationEventPublisher
protected org.springframework.context.ApplicationEventPublisher applicationEventPublisher 
 - 
 - 
Constructor Details
- 
SessionRepositoryWrapper
public SessionRepositoryWrapper(org.springframework.security.core.session.SessionRegistry sessionRegistry, org.springframework.context.ApplicationEventPublisher applicationEventPublisher, org.springframework.session.SessionRepository<S> delegate)  
 - 
 - 
Method Details
- 
getAttributePersistenceValidators
 - 
addAttributePersistenceValidators
 - 
setAttributePersistenceValidators
public void setAttributePersistenceValidators(List<SessionAttributePersistenceValidator> attributePersistenceValidators)  - 
createSession
- Specified by:
 createSessionin interfaceorg.springframework.session.SessionRepository<S extends org.springframework.session.Session>
 - 
save
- Specified by:
 savein interfaceorg.springframework.session.SessionRepository<S extends org.springframework.session.Session>
 - 
findById
- Specified by:
 findByIdin interfaceorg.springframework.session.SessionRepository<S extends org.springframework.session.Session>
 - 
deleteById
- Specified by:
 deleteByIdin interfaceorg.springframework.session.SessionRepository<S extends org.springframework.session.Session>
 - 
findByIndexNameAndIndexValue
public Map<String,SessionRepositoryWrapper<S>.SessionWrapper> findByIndexNameAndIndexValue(String indexName, String indexValue) - Specified by:
 findByIndexNameAndIndexValuein interfaceorg.springframework.session.FindByIndexNameSessionRepository<S extends org.springframework.session.Session>
 
 -