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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COLLECT_PREFIX
-
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
-
-
-
Field Detail
-
COLLECT_PREFIX
public static final java.lang.String COLLECT_PREFIX
- See Also:
- Constant Field Values
-
-
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
-
-