org.apache.tapestry5.mongodb

## Interface MongoDB

- All Known Implementing Classes:
    MongoDBImpl

      public interface MongoDB

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.mongodb.DB` | `getDefaultMongoDb()` Obtain a shared instance of the MongoDB database connection object connected to the default database
    `com.mongodb.DB` | `getMongoDb(String dbname)` Obtain a shared instance of the MongoDB database connection object for the specific database

- - ### Method Detail

    - #### getDefaultMongoDb

          com.mongodb.DB getDefaultMongoDb()

      Obtain a shared instance of the MongoDB database connection object connected to the default database
      Returns:
        the `DB` connection object

    - #### getMongoDb

          com.mongodb.DB getMongoDb(String dbname)

      Obtain a shared instance of the MongoDB database connection object for the specific database
      Parameters:
        `dbname` - the database name to connect to
      Returns:
        the `DB` connection object

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.