BeanRegistrationAotProcessor used to register
a single bean definition.
BeanRegistrationAotProcessor
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTo(GenerationContext
the generation context generationContext, BeanRegistrationCode the generated registration beanRegistrationCode)Apply this contribution to the given |
| public static BeanRegistrationAotContribution | Returns: the concatenation of the two contributions, ornull if
they are both null.the first contribution a, BeanRegistrationAotContribution the second contribution b)Create a contribution that applies the contribution of the first contribution followed by the second contribution. |
| public default BeanRegistrationCodeFragments | Returns: the code fragments to use, may be the original instance or a wrapperthe generation context generationContext, BeanRegistrationCodeFragments the existing code fragments codeFragments)Customize the |
| public static BeanRegistrationAotContribution | Returns: a newBeanRegistrationAotContribution instancethe default code fragments defaultCodeFragments)Create a |
| applyTo | back to summary |
|---|---|
| public void applyTo(GenerationContext generationContext, BeanRegistrationCode beanRegistrationCode) Apply this contribution to the given
| |
| concat | back to summary |
|---|---|
| public static BeanRegistrationAotContribution concat(BeanRegistrationAotContribution a, BeanRegistrationAotContribution b) Create a contribution that applies the contribution of the first contribution
followed by the second contribution. Any contribution can be
| |
| customizeBeanRegistrationCodeFragments | back to summary |
|---|---|
| public default BeanRegistrationCodeFragments customizeBeanRegistrationCodeFragments(GenerationContext generationContext, BeanRegistrationCodeFragments codeFragments) Customize the
| |
| withCustomCodeFragments | back to summary |
|---|---|
| public static BeanRegistrationAotContribution withCustomCodeFragments(UnaryOperator<BeanRegistrationCodeFragments> defaultCodeFragments) Create a
| |