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, saveModeFields inherited from interface org.springframework.session.FindByIndexNameSessionRepository
PRINCIPAL_NAME_INDEX_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByIndexNameAndIndexValue(String indexName, String indexValue) protected voidremoveFromCacheWithoutNotifications(String originalId) Methods inherited from class org.infinispan.spring.common.session.AbstractInfinispanSessionRepository
afterPropertiesSet, createSession, deleteById, destroy, findById, save, setApplicationEventPublisher, setDefaultMaxInactiveInterval, setFlushMode, setIndexResolver, setSaveModeMethods 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
-
InfinispanRemoteSessionRepository
Creates new repository based onSpringCache- Parameters:
cache- Cache which shall be used for session repository.
-
-
Method Details
-
removeFromCacheWithoutNotifications
- Specified by:
removeFromCacheWithoutNotificationsin classAbstractInfinispanSessionRepository
-
findByIndexNameAndIndexValue
public Map<String,AbstractInfinispanSessionRepository.InfinispanSession> findByIndexNameAndIndexValue(String indexName, String indexValue)
-