@ParametersAreNonnullByDefault public class MongoDbBackendFactory extends AbstractBackendFactory<MongoDbConfig>
BackendFactory
that creates MongoDbBackend
instances.Constructor and Description |
---|
MongoDbBackendFactory()
Constructs a new
MongoDbBackendFactory . |
Modifier and Type | Method and Description |
---|---|
protected Backend |
createRemoteBackend(URL url,
MongoDbConfig config)
Creates a new server-based
Backend . |
createBackend, createLocalBackend, name, supportsTransient
createMapper, createMapper
public MongoDbBackendFactory()
MongoDbBackendFactory
.@Nonnull protected Backend createRemoteBackend(URL url, MongoDbConfig config)
AbstractBackendFactory
Backend
.
By default, this method throws an UnsupportedOperationException
.
createRemoteBackend
in class AbstractBackendFactory<MongoDbConfig>
url
- the URL
locating the databaseconfig
- the configuration that defines the behaviour of the back-endCopyright © 2013–2019 Atlanmod. All rights reserved.