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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Current version of the dynamic plugin provider contract.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates the plugin instance.
    int
    Returns the provider API version this implementation supports.
    Returns the stable name used to select this provider.
    Returns the concrete plugin type created by this provider.
  • Field Details

    • API_VERSION

      static final int API_VERSION
      Current 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