Interface BeanInstantiationGenerator


public interface BeanInstantiationGenerator
Generate code that instantiate a particular bean.
Since:
6.0
Author:
Stephane Nicoll
  • Method Details

    • getInstanceCreator

      Executable getInstanceCreator()
      Return the Executable that is used to create the bean instance for further metadata processing.
      Returns:
      the executable that is used to create the bean instance
    • generateBeanInstantiation

      CodeContribution generateBeanInstantiation(RuntimeHints runtimeHints)
      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