Interface ConfigStoreFactory

All Superinterfaces:
org.pf4j.ExtensionPoint, TikaExtensionFactory<ConfigStore>
All Known Implementing Classes:
FileBasedConfigStoreFactory, IgniteConfigStoreFactory

public interface ConfigStoreFactory extends TikaExtensionFactory<ConfigStore>
Factory interface for creating ConfigStore instances. Implementations should be annotated with @Extension to be discovered by PF4J.
  • 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 manager
      configStoreType - the type of ConfigStore to create
      extensionConfig - optional configuration for the store
      Returns:
      a ConfigStore instance
      Throws:
      TikaConfigException - if the store cannot be created