@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, supportsTransientcreateMapper, createMapperpublic MongoDbBackendFactory()
MongoDbBackendFactory.@Nonnull protected Backend createRemoteBackend(URL url, MongoDbConfig config)
AbstractBackendFactoryBackend.
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.