public class VitamRepositoryFactory extends Object implements VitamRepositoryProvider
| Modifier and Type | Method and Description |
|---|---|
static VitamRepositoryFactory |
getInstance()
get Thread-Safe instance instance.
|
VitamElasticsearchRepository |
getVitamESRepository(LogbookCollections collection)
Retrieve the es repository for the collection
|
VitamMongoRepository |
getVitamMongoRepository(LogbookCollections collection)
Retrieve the mongo repository for the collection
|
public static VitamRepositoryFactory getInstance()
public VitamMongoRepository getVitamMongoRepository(LogbookCollections collection)
VitamRepositoryProvidergetVitamMongoRepository in interface VitamRepositoryProvidercollection - the logbook collectionpublic VitamElasticsearchRepository getVitamESRepository(LogbookCollections collection)
VitamRepositoryProvidergetVitamESRepository in interface VitamRepositoryProvidercollection - the logbook collectionCopyright © 2018 Vitam. All rights reserved.