@Configuration
public class ReactiveMongoWebSessionConfiguration
extends org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration
implements org.springframework.context.EmbeddedValueResolverAware, org.springframework.context.annotation.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 |
setCollectionName(String collectionName) |
void |
setEmbeddedValueResolver(org.springframework.util.StringValueResolver embeddedValueResolver) |
void |
setImportMetadata(org.springframework.core.type.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(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata
in interface org.springframework.context.annotation.ImportAware
public void setEmbeddedValueResolver(org.springframework.util.StringValueResolver embeddedValueResolver)
setEmbeddedValueResolver
in interface org.springframework.context.EmbeddedValueResolverAware
public Integer getMaxInactiveIntervalInSeconds()
public void setMaxInactiveIntervalInSeconds(Integer maxInactiveIntervalInSeconds)
public String getCollectionName()
public void setCollectionName(String collectionName)
Copyright © 2014-2017–2017 Pivotal, Inc.. All rights reserved.