Interface BeanRegistrationsCode


public interface BeanRegistrationsCode
Interface that can be used to configure the code that will be generated to register beans.
Since:
6.0
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.javapoet.ClassName
    Return the name of the class being used for registrations.
    Return a MethodGenerator that can be used to add more methods to the registrations code.
  • Method Details

    • getClassName

      org.springframework.javapoet.ClassName getClassName()
      Return the name of the class being used for registrations.
      Returns:
      the generated class name.
    • getMethodGenerator

      MethodGenerator getMethodGenerator()
      Return a MethodGenerator that can be used to add more methods to the registrations code.
      Returns:
      the method generator