Package fr.gouv.vitam.metadata.core
Class MongoDbAccessMetadataFactory
java.lang.Object
fr.gouv.vitam.metadata.core.MongoDbAccessMetadataFactory
Factory to get MongoDbAccess for Metadata
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MongoDbAccessMetadataImpl
create
(MetaDataConfiguration configuration, ElasticsearchMetadataIndexManager elasticsearchMetadataIndexManager) Creation of one MongoDbAccess
-
Field Details
-
COLLECT_PREFIX
- See Also:
-
-
Constructor Details
-
MongoDbAccessMetadataFactory
public MongoDbAccessMetadataFactory()
-
-
Method Details
-
create
public static MongoDbAccessMetadataImpl create(MetaDataConfiguration configuration, ElasticsearchMetadataIndexManager elasticsearchMetadataIndexManager) Creation of one MongoDbAccess- Parameters:
configuration
- config of MongoDbAcesselasticsearchMetadataIndexManager
-- Returns:
- the MongoDbAccess
- Throws:
IllegalArgumentException
- if argument is null
-