public interface DocumentConfiguration
DocumentCollectionManagerFactory| Modifier and Type | Method and Description |
|---|---|
<T extends DocumentCollectionManagerFactory> |
get()
Reads configuration either from default configuration or a file defined by NoSQL provider and then creates a
DocumentCollectionManagerFactory instance. |
<T extends DocumentCollectionManagerFactory> |
get(Settings settings)
Reads configuration from the
Settings instance, the parameters are defined by NoSQL
provider, then creates a DocumentCollectionManagerFactory instance. |
static <T extends DocumentConfiguration> |
getConfiguration()
creates and returns a
DocumentConfiguration instance from ServiceLoader |
static <T extends DocumentConfiguration> |
getConfiguration(Class<T> supplier)
creates and returns a
DocumentConfiguration instance from ServiceLoader
for a particular provider implementation. |
<T extends DocumentCollectionManagerFactory> T get()
DocumentCollectionManagerFactory instance.T - the type to DocumentCollectionManagerFactoryDocumentCollectionManagerFactory instance<T extends DocumentCollectionManagerFactory> T get(Settings settings)
Settings instance, the parameters are defined by NoSQL
provider, then creates a DocumentCollectionManagerFactory instance.T - the type to DocumentCollectionManagerFactorysettings - the settingsDocumentCollectionManagerFactoryNullPointerException - when settings is nullSettings,
{@link java.util.Map}static <T extends DocumentConfiguration> T getConfiguration()
DocumentConfiguration instance from ServiceLoaderT - the configuration typeDocumentConfiguration instanceProviderNotFoundException - when the provider is not foundNonUniqueResultException - when there is more than one KeyValueConfigurationstatic <T extends DocumentConfiguration> T getConfiguration(Class<T> supplier)
DocumentConfiguration instance from ServiceLoader
for a particular provider implementation.T - the configuration typesupplier - the particular providerDocumentConfiguration instanceProviderNotFoundException - when the provider is not foundNonUniqueResultException - when there is more than one KeyValueConfigurationCopyright © 2017–2020 Eclipse Foundation. All rights reserved.