Class MongoClientFactorySupport<T>
java.lang.Object
org.springframework.boot.autoconfigure.mongo.MongoClientFactorySupport<T>
- Type Parameters:
T
- the mongo client type
- Direct Known Subclasses:
MongoClientFactory
,ReactiveMongoClientFactory
Base class for setup that is common to MongoDB client factories.
- Since:
- 2.3.0
- Author:
- Christoph Strobl, Scott Frederick
-
Constructor Summary
ModifierConstructorDescriptionprotected
MongoClientFactorySupport
(List<MongoClientSettingsBuilderCustomizer> builderCustomizers, BiFunction<com.mongodb.MongoClientSettings, com.mongodb.MongoDriverInformation, T> clientCreator) -
Method Summary
-
Constructor Details
-
MongoClientFactorySupport
protected MongoClientFactorySupport(List<MongoClientSettingsBuilderCustomizer> builderCustomizers, BiFunction<com.mongodb.MongoClientSettings, com.mongodb.MongoDriverInformation, T> clientCreator)
-
-
Method Details
-
createMongoClient
-