Interface BeanInstantiationContribution
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A contribution to the instantiation of a bean following ahead of time
processing.
- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(CodeContribution contribution) Contribute bean instantiation to the specifiedCodeContribution
.
-
Method Details
-
applyTo
Contribute bean instantiation to the specifiedCodeContribution
.Implementations of this interface can assume the following variables to be accessible:
beanFactory
: the generalDefaultListableBeanFactory
instanceContext
: theBeanInstanceContext
callbackbean
: the variable that refers to the bean instance
- Parameters:
contribution
- theCodeContribution
to use
-