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
FieldsModifier and TypeFieldDescriptionstatic final List<ValueCodeGenerator.Delegate> A list ofValueCodeGenerator.Delegateimplementations for the following common bean definition property value types. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueCodeGeneratorcreateValueCodeGenerator(GeneratedMethods generatedMethods, List<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 ValueCodeGenerator createValueCodeGenerator(GeneratedMethods generatedMethods, List<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:
-