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 TypeMethodDescriptionorg.springframework.javapoet.ClassName
Return the name of the class being used for registrations.Return aMethodGenerator
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 aMethodGenerator
that can be used to add more methods to the registrations code.- Returns:
- the method generator
-