Class ExtensionResolver


  • public final class ExtensionResolver
    extends Object
    Static module to assist with the initialization of an extension for a DynamoDB Enhanced Client based on supplied configuration.
    • Method Detail

      • defaultExtensions

        public static List<DynamoDbEnhancedClientExtension> defaultExtensions()
        Static provider for the default extensions that are bundled with the DynamoDB Enhanced Client. Currently this is just the VersionedRecordExtension. These extensions will be used by default unless overridden in the enhanced client builder.
      • resolveExtensions

        public static DynamoDbEnhancedClientExtension resolveExtensions​(List<DynamoDbEnhancedClientExtension> extensions)
        Resolves a list of extensions into a single extension. If the list is a singleton, will just return that extension otherwise it will combine them with the ChainExtension meta-extension using the order provided in the list.
        Parameters:
        extensions - A list of extensions to be combined in strict order
        Returns:
        A single extension that combines all the supplied extensions or null if no extensions were provided