Class BeanDefinitionPropertyValueCodeGeneratorDelegates

java.lang.Object
org.springframework.beans.factory.aot.BeanDefinitionPropertyValueCodeGeneratorDelegates

public abstract class BeanDefinitionPropertyValueCodeGeneratorDelegates extends Object
Code generator ValueCodeGenerator.Delegate for common bean definition property values.
Since:
6.1.2
Author:
Stephane Nicoll
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<org.springframework.aot.generate.ValueCodeGenerator.Delegate>
    A list of ValueCodeGenerator.Delegate implementations for the following common bean definition property value types.
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.aot.generate.ValueCodeGenerator
    createValueCodeGenerator(org.springframework.aot.generate.GeneratedMethods generatedMethods, List<org.springframework.aot.generate.ValueCodeGenerator.Delegate> customDelegates)
    Create a ValueCodeGenerator instance with both these delegate and the core delegates.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • BeanDefinitionPropertyValueCodeGeneratorDelegates

      public BeanDefinitionPropertyValueCodeGeneratorDelegates()
  • Method Details

    • createValueCodeGenerator

      public static org.springframework.aot.generate.ValueCodeGenerator createValueCodeGenerator(org.springframework.aot.generate.GeneratedMethods generatedMethods, List<org.springframework.aot.generate.ValueCodeGenerator.Delegate> customDelegates)
      Create a ValueCodeGenerator instance with both these delegate and the core delegates.
      Parameters:
      generatedMethods - the GeneratedMethods to use
      customDelegates - additional delegates that should be considered first
      Returns:
      a configured value code generator
      Since:
      7.0
      See Also:
      • ValueCodeGenerator.add(List)