Package fr.gouv.vitam.metadata.core
Class MongoDbAccessMetadataFactory
- java.lang.Object
-
- fr.gouv.vitam.metadata.core.MongoDbAccessMetadataFactory
-
public class MongoDbAccessMetadataFactory extends java.lang.Object
Factory to get MongoDbAccess for Metadata
-
-
Constructor Summary
Constructors Constructor Description MongoDbAccessMetadataFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MongoDbAccessMetadataImpl
create(MetaDataConfiguration configuration, MappingLoader mappingLoader, ElasticsearchMetadataIndexManager elasticsearchMetadataIndexManager)
Creation of one MongoDbAccess
-
-
-
Method Detail
-
create
public static MongoDbAccessMetadataImpl create(MetaDataConfiguration configuration, MappingLoader mappingLoader, ElasticsearchMetadataIndexManager elasticsearchMetadataIndexManager)
Creation of one MongoDbAccess- Parameters:
configuration
- config of MongoDbAcesselasticsearchMetadataIndexManager
-- Returns:
- the MongoDbAccess
- Throws:
java.lang.IllegalArgumentException
- if argument is null
-
-