@Configuration public class ReactiveMongoWebSessionConfiguration extends org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware
ReactiveMongoOperationsSessionRepository using a provided ReactiveMongoOperations.| Constructor and Description |
|---|
ReactiveMongoWebSessionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName() |
Integer |
getMaxInactiveIntervalInSeconds() |
ReactiveMongoOperationsSessionRepository |
reactiveMongoOperationsSessionRepository(org.springframework.data.mongodb.core.ReactiveMongoOperations operations) |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setCollectionName(String collectionName) |
void |
setEmbeddedValueResolver(StringValueResolver embeddedValueResolver) |
void |
setImportMetadata(AnnotationMetadata importMetadata) |
void |
setMaxInactiveIntervalInSeconds(Integer maxInactiveIntervalInSeconds) |
void |
setMongoSessionConverter(AbstractMongoSessionConverter mongoSessionConverter) |
public ReactiveMongoWebSessionConfiguration()
@Bean public ReactiveMongoOperationsSessionRepository reactiveMongoOperationsSessionRepository(org.springframework.data.mongodb.core.ReactiveMongoOperations operations)
@Autowired(required=false) public void setMongoSessionConverter(AbstractMongoSessionConverter mongoSessionConverter)
public void setImportMetadata(AnnotationMetadata importMetadata)
setImportMetadata in interface ImportAwarepublic void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface BeanClassLoaderAwarepublic void setEmbeddedValueResolver(StringValueResolver embeddedValueResolver)
setEmbeddedValueResolver in interface EmbeddedValueResolverAwarepublic Integer getMaxInactiveIntervalInSeconds()
public void setMaxInactiveIntervalInSeconds(Integer maxInactiveIntervalInSeconds)
public String getCollectionName()
public void setCollectionName(String collectionName)
Copyright © 2014-2018–2020 Pivotal, Inc.. All rights reserved.