Class RedissonHttpSessionConfiguration
java.lang.Object
org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
org.redisson.spring.session.config.RedissonHttpSessionConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.annotation.ImportAware
,org.springframework.context.ApplicationContextAware
@Configuration
@Deprecated
public class RedissonHttpSessionConfiguration
extends org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
implements org.springframework.context.annotation.ImportAware
Deprecated.
Deprecated. Use spring-session implementation based on Redisson Redis Data module
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsessionRepository
(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher) Deprecated.void
setImportMetadata
(org.springframework.core.type.AnnotationMetadata importMetadata) Deprecated.void
setKeyPrefix
(String keyPrefix) Deprecated.void
setMaxInactiveIntervalInSeconds
(Integer maxInactiveIntervalInSeconds) Deprecated.Methods inherited from class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
afterPropertiesSet, sessionEventHttpSessionListenerAdapter, setApplicationContext, setCookieSerializer, setHttpSessionIdResolver, setHttpSessionListeners, setServletContext, springSessionRepositoryFilter
-
Constructor Details
-
RedissonHttpSessionConfiguration
public RedissonHttpSessionConfiguration()Deprecated.
-
-
Method Details
-
sessionRepository
@Bean public RedissonSessionRepository sessionRepository(RedissonClient redissonClient, org.springframework.context.ApplicationEventPublisher eventPublisher) Deprecated. -
setMaxInactiveIntervalInSeconds
Deprecated. -
setKeyPrefix
Deprecated. -
setImportMetadata
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) Deprecated.- Specified by:
setImportMetadata
in interfaceorg.springframework.context.annotation.ImportAware
-