Class LogbookMongoDbAccessFactory
- java.lang.Object
-
- fr.gouv.vitam.logbook.common.server.database.collections.LogbookMongoDbAccessFactory
-
public final class LogbookMongoDbAccessFactory extends java.lang.Object
Factory to get MongoDbAccess for Logbook
-
-
Constructor Summary
Constructors Constructor Description LogbookMongoDbAccessFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogbookMongoDbAccessImpl
create(LogbookConfiguration configuration, OntologyLoader ontologyLoader, ElasticsearchLogbookIndexManager indexManager)
Creation of one MongoDbAccess
-
-
-
Method Detail
-
create
public static LogbookMongoDbAccessImpl create(LogbookConfiguration configuration, OntologyLoader ontologyLoader, ElasticsearchLogbookIndexManager indexManager)
Creation of one MongoDbAccess- Parameters:
configuration
- of LogbookMongoDbontologyLoader
-indexManager
-- Returns:
- the MongoDbAccess
- Throws:
java.lang.IllegalArgumentException
- if argument is null
-
-