Interface DurableExecutionPluginProvider
public interface DurableExecutionPluginProvider
Service provider interface for dynamically loading
DurableExecutionPlugin implementations.
Provider JARs register implementations in
META-INF/services/software.amazon.lambda.durable.plugin.DurableExecutionPluginProvider. The SDK only creates
plugins from providers explicitly selected through DURABLE_EXECUTION_PLUGINS.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCurrent version of the dynamic plugin provider contract. -
Method Summary
Modifier and TypeMethodDescriptionCreates the plugin instance.intReturns the provider API version this implementation supports.getName()Returns the stable name used to select this provider.Class<? extends DurableExecutionPlugin>Returns the concrete plugin type created by this provider.
-
Field Details
-
API_VERSION
static final int API_VERSIONCurrent version of the dynamic plugin provider contract.- See Also:
-
-
Method Details
-
getName
String getName()Returns the stable name used to select this provider.- Returns:
- non-empty provider name
-
getApiVersion
int getApiVersion()Returns the provider API version this implementation supports.- Returns:
- provider API version
-
getPluginType
Class<? extends DurableExecutionPlugin> getPluginType()Returns the concrete plugin type created by this provider.- Returns:
- plugin implementation class
-
createPlugin
DurableExecutionPlugin createPlugin()Creates the plugin instance.- Returns:
- plugin instance
-