Class LogbookMongoDbAccessFactory
java.lang.Object
fr.gouv.vitam.logbook.common.server.database.collections.LogbookMongoDbAccessFactory
Factory to get MongoDbAccess for Logbook
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LogbookMongoDbAccessImpl
create
(LogbookConfiguration configuration, OntologyLoader ontologyLoader, ElasticsearchLogbookIndexManager indexManager) Creation of one MongoDbAccess
-
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 LogbookMongoDbontologyLoader
-indexManager
-- Returns:
- the MongoDbAccess
- Throws:
IllegalArgumentException
- if argument is null
-