@Configuration @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,
Environment environment,
ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers,
ObjectProvider<com.mongodb.MongoClientSettings> settings) |
@Bean @ConditionalOnMissingBean public com.mongodb.reactivestreams.client.MongoClient reactiveStreamsMongoClient(MongoProperties properties, Environment environment, ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers, ObjectProvider<com.mongodb.MongoClientSettings> settings)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.