Class MongoClientFactory

java.lang.Object
org.springframework.boot.autoconfigure.mongo.MongoClientFactorySupport<com.mongodb.client.MongoClient>
org.springframework.boot.autoconfigure.mongo.MongoClientFactory

public class MongoClientFactory extends MongoClientFactorySupport<com.mongodb.client.MongoClient>
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 Details

    • MongoClientFactory

      public MongoClientFactory(List<MongoClientSettingsBuilderCustomizer> builderCustomizers)
      Construct a factory for creating a blocking MongoClient.
      Parameters:
      builderCustomizers - a list of configuration settings customizers