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