|
||||||||||
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 org.springframework.dao.DataAccessException
DB
instance.
org.springframework.dao.DataAccessException
com.mongodb.DB getDb(String dbName) throws org.springframework.dao.DataAccessException
DB
instance to access the database with the given name.
dbName
- must not be null or empty.
org.springframework.dao.DataAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |