Package fr.gouv.vitam.logbook.common.server.database.collections

# Class LogbookMongoDbAccessFactory

java.lang.Object
fr.gouv.vitam.logbook.common.server.database.collections.LogbookMongoDbAccessFactory

public final class LogbookMongoDbAccessFactory extends Object
Factory to get MongoDbAccess for Logbook

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogbookMongoDbAccessFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static LogbookMongoDbAccessImpl`
  `create(LogbookConfiguration configuration, OntologyLoader ontologyLoader, ElasticsearchLogbookIndexManager indexManager)`
  Creation of one MongoDbAccess

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

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

- ## Constructor Details

  - ### LogbookMongoDbAccessFactory

    public LogbookMongoDbAccessFactory()

- ## Method Details

  - ### create

    public static LogbookMongoDbAccessImpl create(LogbookConfiguration configuration, OntologyLoader ontologyLoader, ElasticsearchLogbookIndexManager indexManager)
    Creation of one MongoDbAccess
    Parameters:
      `configuration` - of LogbookMongoDb
      `ontologyLoader` -
      `indexManager` -
    Returns:
      the MongoDbAccess
    Throws:
      `IllegalArgumentException` - if argument is null