Interface BeanRegistrationCode


public interface BeanRegistrationCode
Interface that can be used to configure the code that will be generated to perform registration of a single bean.
Since:
6.0
Author:
Phillip Webb
See Also:
  • Method Details

    • getClassName

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

      GeneratedMethods getMethods()
      Return a GeneratedMethods being used by the registrations code.
      Returns:
      the generated methods
    • addInstancePostProcessor

      void addInstancePostProcessor(MethodReference methodReference)
      Add an instance post processor method call to the registration code.
      Parameters:
      methodReference - a reference to the post-process method to call. The referenced method must have a functional signature compatible with InstanceSupplier.andThen(ThrowingBiFunction).
      See Also: