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 Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of the plugin.void
Invoked when unregistering the plugin.Enumerates currently available readers.
-
Method Details
-
getName
String getName()Gets the name of the plugin.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
searchAvailableReaders
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
-