|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MongoDbFactory
Interface for factories creating DB instances.
| Method Summary | |
|---|---|
com.mongodb.DB |
getDb()
Creates a default DB instance. |
com.mongodb.DB |
getDb(String dbName)
Creates a DB instance to access the database with the given name. |
| Method Detail |
|---|
com.mongodb.DB getDb()
throws DataAccessException
DB instance.
DataAccessException
com.mongodb.DB getDb(String dbName)
throws DataAccessException
DB instance to access the database with the given name.
dbName - must not be null or empty.
DataAccessException
|
Spring Data MongoDB | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||