Interface PluginSpi

All Known Subinterfaces:
AutonomousObservablePluginSpi, ObservablePluginSpi

public interface PluginSpi
Plugin (non pool) able to manage a static list of readers.
Since:
2.0.0
  • Method Details

    • getName

      String getName()
      Gets the name of the plugin.
      Returns:
      A not empty string.
      Since:
      2.0.0
    • searchAvailableReaders

      Set<ReaderSpi> searchAvailableReaders() throws PluginIOException
      Enumerates currently available readers.
      Returns:
      A empty Set if no reader is available.
      Throws:
      PluginIOException - If an error occurs while searching readers.
      Since:
      2.0.0
    • onUnregister

      void onUnregister()
      Invoked when unregistering the plugin.
      Since:
      2.0.0