Interface DurableExecutionPluginProvider

All Superinterfaces:
DurableExecutionPluginFactory

public interface DurableExecutionPluginProvider extends DurableExecutionPluginFactory
A DurableExecutionPluginFactory that can be discovered through ServiceLoader and selected by name.

Provider JARs register implementations in META-INF/services/software.amazon.lambda.durable.plugin.DurableExecutionPluginProvider. The SDK only uses providers explicitly selected through DURABLE_EXECUTION_PLUGINS; selection is by getName().

A provider is itself the per-invocation factory: DurableExecutionPluginFactory.createPlugin(InvocationInfo) is called once per invocation, and the returned instance serves only that invocation.

  • Method Details

    • getName

      String getName()
      Returns the stable name used to select this provider.
      Returns:
      non-empty provider name