Class CoherenceHttpSessionConfiguration
java.lang.Object
org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
com.oracle.coherence.spring.session.config.annotation.web.http.CoherenceHttpSessionConfiguration
- All Implemented Interfaces:
- Aware,- InitializingBean,- ImportAware,- ApplicationContextAware
- Direct Known Subclasses:
- CoherenceSpringSessionAutoConfiguration.SpringBootCoherenceHttpSessionConfiguration
@Configuration(proxyBeanMethods=false)
public class CoherenceHttpSessionConfiguration
extends org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
implements ImportAware
Exposes the 
SessionRepositoryFilter as a bean named springSessionRepositoryFilter. In order to use
 this, CoherenceSpringConfiguration must be active as well, typically using the
 EnableCoherence annotation.- Since:
- 3.0
- Author:
- Gunnar Hillert
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.session.FindByIndexNameSessionRepository<?>voidsetCoherence(ObjectProvider<com.tangosol.net.Coherence> springSessionCoherenceInstance, ObjectProvider<com.tangosol.net.Coherence> coherenceInstance) voidsetFlushMode(org.springframework.session.FlushMode flushMode) voidsetImportMetadata(AnnotationMetadata importMetadata) voidsetIndexResolver(org.springframework.session.IndexResolver<org.springframework.session.Session> indexResolver) voidsetMaxInactiveIntervalInSeconds(int maxInactiveIntervalInSeconds) voidsetSaveMode(org.springframework.session.SaveMode saveMode) voidsetSessionIdGenerator(org.springframework.session.SessionIdGenerator sessionIdGenerator) voidsetSessionMapName(String sessionMapName) voidsetSessionRepositoryCustomizer(ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<CoherenceIndexedSessionRepository>> sessionRepositoryCustomizers) voidsetUseEntryProcessor(boolean useEntryProcessor) Methods inherited from class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfigurationafterPropertiesSet, sessionEventHttpSessionListenerAdapter, setApplicationContext, setCookieSerializer, setHttpSessionIdResolver, setHttpSessionListeners, setServletContext, springSessionRepositoryFilter
- 
Constructor Details- 
CoherenceHttpSessionConfigurationpublic CoherenceHttpSessionConfiguration()
 
- 
- 
Method Details- 
sessionRepository@Bean @DependsOn("coherenceServer") public org.springframework.session.FindByIndexNameSessionRepository<?> sessionRepository()
- 
setCoherence@Autowired public void setCoherence(@SpringSessionCoherenceInstance ObjectProvider<com.tangosol.net.Coherence> springSessionCoherenceInstance, ObjectProvider<com.tangosol.net.Coherence> coherenceInstance) 
- 
setImportMetadata- Specified by:
- setImportMetadatain interface- ImportAware
 
- 
setIndexResolver@Autowired(required=false) public void setIndexResolver(org.springframework.session.IndexResolver<org.springframework.session.Session> indexResolver) 
- 
setSessionIdGenerator@Autowired(required=false) public void setSessionIdGenerator(org.springframework.session.SessionIdGenerator sessionIdGenerator) 
- 
setSessionRepositoryCustomizer@Autowired(required=false) public void setSessionRepositoryCustomizer(ObjectProvider<org.springframework.session.config.SessionRepositoryCustomizer<CoherenceIndexedSessionRepository>> sessionRepositoryCustomizers) 
- 
setMaxInactiveIntervalInSecondspublic void setMaxInactiveIntervalInSeconds(int maxInactiveIntervalInSeconds) 
- 
setSessionMapName
- 
setFlushModepublic void setFlushMode(org.springframework.session.FlushMode flushMode) 
- 
setSaveModepublic void setSaveMode(org.springframework.session.SaveMode saveMode) 
- 
setUseEntryProcessorpublic void setUseEntryProcessor(boolean useEntryProcessor) 
 
-