@groovy.transform.CompileStatic class MongoConnectionSourceFactory extends AbstractConnectionSourceFactory<com.mongodb.client.MongoClient, MongoConnectionSourceSettings>
A factory for building com.mongodb.client.MongoClient instances
Modifiers | Name | Description |
---|---|---|
private com.mongodb.MongoClientSettings$Builder |
clientOptionsBuilder |
The client options builder |
private org.bson.codecs.configuration.CodecRegistry |
codecRegistry |
An optional additional registry |
private java.util.List<org.bson.codecs.Codec> |
codecs |
Optional additional codecs |
Type | Name and description |
---|---|
com.mongodb.MongoClientSettings$Builder |
clientOptionsBuilder The client options builder |
org.bson.codecs.configuration.CodecRegistry |
codecRegistry An optional additional registry |
java.util.List<org.bson.codecs.Codec> |
codecs Optional additional codecs |
Constructor and description |
---|
MongoConnectionSourceFactory
() |
Type Params | Return Type | Name and description |
---|---|---|
<F extends ConnectionSourceSettings> |
MongoConnectionSourceSettings |
buildRuntimeSettings(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, F fallbackSettings) |
<F extends ConnectionSourceSettings> |
protected MongoConnectionSourceSettings |
buildSettings(java.lang.String name, org.springframework.core.env.PropertyResolver configuration, F fallbackSettings, boolean isDefaultDataSource) |
|
ConnectionSource<com.mongodb.client.MongoClient, MongoConnectionSourceSettings> |
create(java.lang.String name, MongoConnectionSourceSettings settings) |
|
java.io.Serializable |
getConnectionSourcesConfigurationKey() |
The client options builder
An optional additional registry
Optional additional codecs
The client options builder
An optional additional registry
Optional additional codecs
Groovy Documentation