T
- the mongo client typepublic abstract class MongoClientFactorySupport<T> extends Object
Modifier | Constructor and Description |
---|---|
protected |
MongoClientFactorySupport(List<MongoClientSettingsBuilderCustomizer> builderCustomizers,
BiFunction<com.mongodb.MongoClientSettings,com.mongodb.MongoDriverInformation,T> clientCreator) |
protected |
MongoClientFactorySupport(MongoProperties properties,
Environment environment,
List<MongoClientSettingsBuilderCustomizer> builderCustomizers,
BiFunction<com.mongodb.MongoClientSettings,com.mongodb.MongoDriverInformation,T> clientCreator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
T |
createMongoClient(com.mongodb.MongoClientSettings settings) |
@Deprecated protected MongoClientFactorySupport(MongoProperties properties, Environment environment, List<MongoClientSettingsBuilderCustomizer> builderCustomizers, BiFunction<com.mongodb.MongoClientSettings,com.mongodb.MongoDriverInformation,T> clientCreator)
protected MongoClientFactorySupport(List<MongoClientSettingsBuilderCustomizer> builderCustomizers, BiFunction<com.mongodb.MongoClientSettings,com.mongodb.MongoDriverInformation,T> clientCreator)
public T createMongoClient(com.mongodb.MongoClientSettings settings)