Interface PoolPluginFactorySpi
public interface PoolPluginFactorySpi
Factory of
PoolPluginSpi
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the common's API version used at compile timeGets the plugin's API version used at compile timeRetrieves an instance of a pool plugin SPI (can be a singleton or not)Retrieves the name of the pool plugin that will be instantiated by this factory (can be static or dynamic)
-
Method Details
-
getPluginApiVersion
String getPluginApiVersion()Gets the plugin's API version used at compile time- Returns:
- A not empty String
- Since:
- 2.0.0
-
getCommonApiVersion
String getCommonApiVersion()Gets the common's API version used at compile time- Returns:
- A not empty String
- Since:
- 2.0.0
-
getPoolPluginName
String getPoolPluginName()Retrieves the name of the pool plugin that will be instantiated by this factory (can be static or dynamic)- Returns:
- A not empty String
- Since:
- 2.0.0
-
getPoolPlugin
PoolPluginSpi getPoolPlugin()Retrieves an instance of a pool plugin SPI (can be a singleton or not)- Returns:
- A not null reference
- Since:
- 2.0.0
-