@Configuration(proxyBeanMethods=false)
public class HazelcastHttpSessionConfiguration
extends org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
implements org.springframework.context.annotation.ImportAware
SessionRepositoryFilter as a bean named
springSessionRepositoryFilter. In order to use this a single
HazelcastInstance must be exposed as a Bean.EnableHazelcastHttpSession| Constructor and Description |
|---|
HazelcastHttpSessionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.session.FindByIndexNameSessionRepository<?> |
sessionRepository() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
setFlushMode(org.springframework.session.FlushMode flushMode) |
void |
setHazelcast4SessionRepositoryCustomizer(org.springframework.beans.factory.ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<org.springframework.session.hazelcast.Hazelcast4IndexedSessionRepository>> sessionRepositoryCustomizers) |
void |
setHazelcastFlushMode(HazelcastFlushMode hazelcastFlushMode)
Deprecated.
|
void |
setHazelcastInstance(org.springframework.beans.factory.ObjectProvider<com.hazelcast.core.HazelcastInstance> springSessionHazelcastInstance,
org.springframework.beans.factory.ObjectProvider<com.hazelcast.core.HazelcastInstance> hazelcastInstance) |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
void |
setIndexResolver(org.springframework.session.IndexResolver<org.springframework.session.Session> indexResolver) |
void |
setMaxInactiveIntervalInSeconds(int maxInactiveIntervalInSeconds) |
void |
setSaveMode(org.springframework.session.SaveMode saveMode) |
void |
setSessionMapName(java.lang.String sessionMapName) |
void |
setSessionRepositoryCustomizer(org.springframework.beans.factory.ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<HazelcastIndexedSessionRepository>> sessionRepositoryCustomizers) |
init, sessionEventHttpSessionListenerAdapter, setApplicationContext, setCookieSerializer, setHttpSessionIdResolver, setHttpSessionListeners, setServletContext, springSessionRepositoryFilter@Bean public org.springframework.session.FindByIndexNameSessionRepository<?> sessionRepository()
public void setMaxInactiveIntervalInSeconds(int maxInactiveIntervalInSeconds)
public void setSessionMapName(java.lang.String sessionMapName)
@Deprecated public void setHazelcastFlushMode(HazelcastFlushMode hazelcastFlushMode)
public void setFlushMode(org.springframework.session.FlushMode flushMode)
public void setSaveMode(org.springframework.session.SaveMode saveMode)
@Autowired public void setHazelcastInstance(@SpringSessionHazelcastInstance org.springframework.beans.factory.ObjectProvider<com.hazelcast.core.HazelcastInstance> springSessionHazelcastInstance, org.springframework.beans.factory.ObjectProvider<com.hazelcast.core.HazelcastInstance> hazelcastInstance)
@Autowired public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
@Autowired(required=false) public void setIndexResolver(org.springframework.session.IndexResolver<org.springframework.session.Session> indexResolver)
@Autowired(required=false) public void setSessionRepositoryCustomizer(org.springframework.beans.factory.ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<HazelcastIndexedSessionRepository>> sessionRepositoryCustomizers)
@Autowired(required=false) public void setHazelcast4SessionRepositoryCustomizer(org.springframework.beans.factory.ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<org.springframework.session.hazelcast.Hazelcast4IndexedSessionRepository>> sessionRepositoryCustomizers)
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAware