public class MongoDbFactoryCreator extends AbstractServiceConnectorCreator<org.springframework.data.mongodb.MongoDbFactory,MongoServiceInfo>
Constructor and Description |
---|
MongoDbFactoryCreator() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.mongodb.core.SimpleMongoDbFactory |
configure(org.springframework.data.mongodb.core.SimpleMongoDbFactory mongoDbFactory,
MongoDbFactoryConfig config) |
org.springframework.data.mongodb.MongoDbFactory |
create(MongoServiceInfo serviceInfo,
ServiceConnectorConfig config)
Create service for the given service info and configured with the given
configuration
|
getServiceConnectorType, getServiceInfoType
public org.springframework.data.mongodb.MongoDbFactory create(MongoServiceInfo serviceInfo, ServiceConnectorConfig config)
ServiceConnectorCreator
serviceInfo
- the ServiceInfo
object containing the information necessary to connect to the serviceconfig
- configuration information to be applied to the connectionpublic org.springframework.data.mongodb.core.SimpleMongoDbFactory configure(org.springframework.data.mongodb.core.SimpleMongoDbFactory mongoDbFactory, MongoDbFactoryConfig config)