public interface ReactiveMongoDatabaseFactory
MongoDatabase instances.| Modifier and Type | Method and Description |
|---|---|
PersistenceExceptionTranslator |
getExceptionTranslator()
Exposes a shared
MongoExceptionTranslator. |
com.mongodb.reactivestreams.client.MongoDatabase |
getMongoDatabase()
Creates a default
MongoDatabase instance. |
com.mongodb.reactivestreams.client.MongoDatabase |
getMongoDatabase(String dbName)
Creates a
MongoDatabase instance to access the database with the given name. |
com.mongodb.reactivestreams.client.MongoDatabase getMongoDatabase()
throws DataAccessException
MongoDatabase instance.DataAccessExceptioncom.mongodb.reactivestreams.client.MongoDatabase getMongoDatabase(String dbName) throws DataAccessException
MongoDatabase instance to access the database with the given name.dbName - must not be null or empty.DataAccessExceptionPersistenceExceptionTranslator getExceptionTranslator()
MongoExceptionTranslator.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.