Interface ConfigStoreFactory
- All Superinterfaces:
org.pf4j.ExtensionPoint,TikaExtensionFactory<ConfigStore>
- All Known Implementing Classes:
FileBasedConfigStoreFactory,IgniteConfigStoreFactory
Factory interface for creating ConfigStore instances.
Implementations should be annotated with @Extension to be discovered by PF4J.
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ConfigStorecreateConfigStore(org.pf4j.PluginManager pluginManager, String configStoreType, ExtensionConfig extensionConfig) Creates a ConfigStore instance based on configuration.Methods inherited from interface org.apache.tika.plugins.TikaExtensionFactory
buildExtension, getName
-
Field Details
-
LOG
static final org.slf4j.Logger LOG
-
-
Method Details
-
createConfigStore
static ConfigStore createConfigStore(org.pf4j.PluginManager pluginManager, String configStoreType, ExtensionConfig extensionConfig) throws TikaConfigException Creates a ConfigStore instance based on configuration.- Parameters:
pluginManager- the plugin managerconfigStoreType- the type of ConfigStore to createextensionConfig- optional configuration for the store- Returns:
- a ConfigStore instance
- Throws:
TikaConfigException- if the store cannot be created
-