Interface PluginFactorySpi
-
public interface PluginFactorySpi
Factory ofPluginSpi
- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCommonApiVersion()
Gets the common's API version used at compile timePluginSpi
getPlugin()
Retrieves an instance of a plugin SPI (can be a singleton or not)java.lang.String
getPluginApiVersion()
Gets the plugin's API version used at compile timejava.lang.String
getPluginName()
Retrieves the name of the plugin that will be instantiated by this factory (can be static or dynamic)
-
-
-
Method Detail
-
getPluginApiVersion
java.lang.String getPluginApiVersion()
Gets the plugin's API version used at compile time- Returns:
- A not empty String
- Since:
- 2.0.0
-
getCommonApiVersion
java.lang.String getCommonApiVersion()
Gets the common's API version used at compile time- Returns:
- A not empty String
- Since:
- 2.0.0
-
getPluginName
java.lang.String getPluginName()
Retrieves the name of the plugin that will be instantiated by this factory (can be static or dynamic)- Returns:
- A not empty String
- Since:
- 2.0.0
-
getPlugin
PluginSpi getPlugin()
Retrieves an instance of a plugin SPI (can be a singleton or not)- Returns:
- A not null reference
- Since:
- 2.0.0
-
-