Interface BeanInstantiationGenerator
public interface BeanInstantiationGenerator
Generate code that instantiate a particular bean.
- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptiongenerateBeanInstantiation
(RuntimeHints runtimeHints) Return the necessary code to instantiate a bean.Return theExecutable
that is used to create the bean instance for further metadata processing.
-
Method Details
-
getInstanceCreator
Executable getInstanceCreator()Return theExecutable
that is used to create the bean instance for further metadata processing.- Returns:
- the executable that is used to create the bean instance
-
generateBeanInstantiation
Return the necessary code to instantiate a bean.- Parameters:
runtimeHints
- the runtime hints instance to use- Returns:
- a code contribution that provides an initialized bean instance
-