Class BeanDefinitionPropertyValueCodeGeneratorDelegates
java.lang.Object
org.springframework.beans.factory.aot.BeanDefinitionPropertyValueCodeGeneratorDelegates
Code generator
ValueCodeGenerator.Delegate for common bean definition property values.- Since:
- 6.1.2
- Author:
- Stephane Nicoll
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.aot.generate.ValueCodeGeneratorcreateValueCodeGenerator(org.springframework.aot.generate.GeneratedMethods generatedMethods, List<org.springframework.aot.generate.ValueCodeGenerator.Delegate> customDelegates)
-
Field Details
-
INSTANCES
A list ofValueCodeGenerator.Delegateimplementations for the following common bean definition property value types. When combined with the delegates for common value types, this should be added first as they have special handling for list, set, and map.
-
-
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) - Parameters:
generatedMethods- theGeneratedMethodsto usecustomDelegates- additional delegates that should be considered first- Returns:
- a configured value code generator
- Since:
- 7.0
- See Also:
-