public class MongoClientFactory extends MongoClientFactorySupport<com.mongodb.client.MongoClient>
MongoClient
.Constructor and Description |
---|
MongoClientFactory(MongoProperties properties,
Environment environment)
Deprecated.
since 2.3.0 for removal in 2.5.0 in favor of
MongoClientFactory(MongoProperties, Environment, List) |
MongoClientFactory(MongoProperties properties,
Environment environment,
List<MongoClientSettingsBuilderCustomizer> builderCustomizers)
Construct a factory for creating a blocking
MongoClient . |
@Deprecated public MongoClientFactory(MongoProperties properties, Environment environment)
MongoClientFactory(MongoProperties, Environment, List)
MongoClient
.properties
- configuration propertiesenvironment
- a Spring Environment
containing configuration propertiespublic MongoClientFactory(MongoProperties properties, Environment environment, List<MongoClientSettingsBuilderCustomizer> builderCustomizers)
MongoClient
.properties
- configuration propertiesenvironment
- a Spring Environment
containing configuration propertiesbuilderCustomizers
- a list of configuration settings customizers