Package | Description |
---|---|
org.springframework.boot.autoconfigure.mongo |
Auto-configuration for MongoDB.
|
Modifier and Type | Class and Description |
---|---|
class |
MongoPropertiesClientSettingsBuilderCustomizer
A
MongoClientSettingsBuilderCustomizer that applies properties from a
MongoProperties to a MongoClientSettings . |
Modifier and Type | Method and Description |
---|---|
com.mongodb.client.MongoClient |
MongoAutoConfiguration.mongo(ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers,
com.mongodb.MongoClientSettings settings) |
com.mongodb.reactivestreams.client.MongoClient |
MongoReactiveAutoConfiguration.reactiveStreamsMongoClient(ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers,
com.mongodb.MongoClientSettings settings) |
Constructor and Description |
---|
MongoClientFactory(List<MongoClientSettingsBuilderCustomizer> builderCustomizers)
Construct a factory for creating a blocking
MongoClient . |
MongoClientFactory(MongoProperties properties,
Environment environment,
List<MongoClientSettingsBuilderCustomizer> builderCustomizers)
Deprecated.
since 2.4.0 in favor of
MongoClientFactory.MongoClientFactory(List) |
MongoClientFactorySupport(List<MongoClientSettingsBuilderCustomizer> builderCustomizers,
BiFunction<com.mongodb.MongoClientSettings,com.mongodb.MongoDriverInformation,T> clientCreator) |
MongoClientFactorySupport(MongoProperties properties,
Environment environment,
List<MongoClientSettingsBuilderCustomizer> builderCustomizers,
BiFunction<com.mongodb.MongoClientSettings,com.mongodb.MongoDriverInformation,T> clientCreator)
Deprecated.
|
ReactiveMongoClientFactory(List<MongoClientSettingsBuilderCustomizer> builderCustomizers)
Construct a factory for creating a
MongoClient . |
ReactiveMongoClientFactory(MongoProperties properties,
Environment environment,
List<MongoClientSettingsBuilderCustomizer> builderCustomizers)
Deprecated.
since 2.4.0 in favor of
ReactiveMongoClientFactory.ReactiveMongoClientFactory(List) |