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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Gets the name of the plugin.void
onUnregister()
Invoked when unregistering the plugin.java.util.Set<ReaderSpi>
searchAvailableReaders()
Enumerates currently available readers.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of the plugin.- Returns:
- A not empty string.
- Since:
- 2.0.0
-
searchAvailableReaders
java.util.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
-
-