Class InfinispanRemoteSessionRepository
java.lang.Object
org.infinispan.spring.common.session.AbstractInfinispanSessionRepository
org.infinispan.spring.remote.session.InfinispanRemoteSessionRepository
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.session.FindByIndexNameSessionRepository<AbstractInfinispanSessionRepository.InfinispanSession>
,org.springframework.session.SessionRepository<AbstractInfinispanSessionRepository.InfinispanSession>
Session Repository for Infinispan in client/server mode.
- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.spring.common.session.AbstractInfinispanSessionRepository
AbstractInfinispanSessionRepository.InfinispanSession
-
Field Summary
Fields inherited from class org.infinispan.spring.common.session.AbstractInfinispanSessionRepository
applicationEventPublisher, cache, defaultMaxInactiveInterval, flushMode, indexResolver, nativeCache, saveMode
Fields inherited from interface org.springframework.session.FindByIndexNameSessionRepository
PRINCIPAL_NAME_INDEX_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindByIndexNameAndIndexValue
(String indexName, String indexValue) protected void
removeFromCacheWithoutNotifications
(String originalId) Methods inherited from class org.infinispan.spring.common.session.AbstractInfinispanSessionRepository
afterPropertiesSet, createSession, deleteById, destroy, findById, save, setApplicationEventPublisher, setDefaultMaxInactiveInterval, setFlushMode, setIndexResolver, setSaveMode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.session.FindByIndexNameSessionRepository
findByPrincipalName
-
Constructor Details
-
InfinispanRemoteSessionRepository
Creates new repository based onSpringCache
- Parameters:
cache
- Cache which shall be used for session repository.
-
-
Method Details
-
removeFromCacheWithoutNotifications
- Specified by:
removeFromCacheWithoutNotifications
in classAbstractInfinispanSessionRepository
-
findByIndexNameAndIndexValue
public Map<String,AbstractInfinispanSessionRepository.InfinispanSession> findByIndexNameAndIndexValue(String indexName, String indexValue)
-