@Configuration public class HazelcastHttpSessionConfiguration extends 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 |
|---|---|
SessionEntryListener |
sessionListener(org.springframework.context.ApplicationEventPublisher eventPublisher) |
SessionRepository<ExpiringSession> |
sessionRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance,
SessionEntryListener sessionListener) |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
void |
setMaxInactiveIntervalInSeconds(int maxInactiveIntervalInSeconds) |
void |
setSessionMapName(String sessionMapName) |
sessionEventHttpSessionListenerAdapter, setCookieSerializer, setHttpSessionListeners, setHttpSessionStrategy, setServletContext, springSessionRepositoryFilter@Bean public SessionRepository<ExpiringSession> sessionRepository(com.hazelcast.core.HazelcastInstance hazelcastInstance, SessionEntryListener sessionListener)
@Bean public SessionEntryListener sessionListener(org.springframework.context.ApplicationEventPublisher eventPublisher)
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAwarepublic void setMaxInactiveIntervalInSeconds(int maxInactiveIntervalInSeconds)
public void setSessionMapName(String sessionMapName)