public class MongoDbFactoryCreator extends AbstractServiceConnectorCreator<MongoDbFactory,MongoServiceInfo>
Constructor and Description |
---|
MongoDbFactoryCreator() |
Modifier and Type | Method and Description |
---|---|
SimpleMongoDbFactory |
configure(SimpleMongoDbFactory mongoDbFactory,
MongoDbFactoryConfig config) |
MongoDbFactory |
create(MongoServiceInfo serviceInfo,
ServiceConnectorConfig config)
Create service for the given service info and configured with the given
configuration
|
getServiceConnectorType, getServiceInfoType
public 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 SimpleMongoDbFactory configure(SimpleMongoDbFactory mongoDbFactory, MongoDbFactoryConfig config)