Class MongoClientFactory
java.lang.Object
org.springframework.boot.autoconfigure.mongo.MongoClientFactorySupport<com.mongodb.client.MongoClient>
org.springframework.boot.autoconfigure.mongo.MongoClientFactory
A factory for a blocking
MongoClient
.- Since:
- 2.0.0
- Author:
- Dave Syer, Phillip Webb, Josh Long, Andy Wilkinson, EddĂș MelĂ©ndez, Stephane Nicoll, Nasko Vasilev, Mark Paluch, Scott Frederick
-
Constructor Summary
ConstructorDescriptionMongoClientFactory
(List<MongoClientSettingsBuilderCustomizer> builderCustomizers) Construct a factory for creating a blockingMongoClient
. -
Method Summary
Methods inherited from class org.springframework.boot.autoconfigure.mongo.MongoClientFactorySupport
createMongoClient
-
Constructor Details
-
MongoClientFactory
Construct a factory for creating a blockingMongoClient
.- Parameters:
builderCustomizers
- a list of configuration settings customizers
-