@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.mongodb.reactivestreams.client.MongoClient.class,reactor.core.publisher.Flux.class}) @EnableConfigurationProperties(value=MongoProperties.class) public class MongoReactiveAutoConfiguration extends Object
Auto-configuration
for Reactive Mongo.Constructor and Description |
---|
MongoReactiveAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.mongodb.reactivestreams.client.MongoClient |
reactiveStreamsMongoClient(MongoProperties properties,
org.springframework.core.env.Environment environment,
org.springframework.beans.factory.ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers,
org.springframework.beans.factory.ObjectProvider<com.mongodb.MongoClientSettings> settings) |
@Bean @ConditionalOnMissingBean public com.mongodb.reactivestreams.client.MongoClient reactiveStreamsMongoClient(MongoProperties properties, org.springframework.core.env.Environment environment, org.springframework.beans.factory.ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers, org.springframework.beans.factory.ObjectProvider<com.mongodb.MongoClientSettings> settings)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.