Package fr.gouv.vitam.common.database.server.mongodb

# Class SimpleMongoDBAccess

java.lang.Object
fr.gouv.vitam.common.database.server.mongodb.MongoDbAccess
fr.gouv.vitam.common.database.server.mongodb.SimpleMongoDBAccess

All Implemented Interfaces:
  `DatabaseConnection`

public class SimpleMongoDBAccess extends MongoDbAccess
simple implementation on MongoDbAccess

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SimpleMongoDBAccess(com.mongodb.client.MongoClient mongoClient, String dbname)`

- ## Method Summary

  ### Methods inherited from class fr.gouv.vitam.common.database.server.mongodb.MongoDbAccess

  `checkConnection, close, createMongoClient, createMongoClient, getInfo, getMongoAdmin, getMongoClient, getMongoClientSettingsBuilder, getMongoClientSettingsBuilder, getMongoDatabase, setDatabase, setMongoAdmin, setMongoClient, setMongoDatabase`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SimpleMongoDBAccess

    public SimpleMongoDBAccess(com.mongodb.client.MongoClient mongoClient, String dbname)
    Parameters:
      `mongoClient` - MongoClient
      `dbname` - MongoDB database name
    Throws:
      `IllegalArgumentException` - if mongoClient or dbname is null