This commit updates the bean factory methods for beans that can be instantiated at build-time to be static. Doing so makes sure that the enclosing configuration class does not have to be resolved in order to create the instance. Closes gh-32570
This commit updates the bean factory methods for beans that can be instantiated at build-time to be static. Doing so makes sure that the enclosing configuration class does not have to be resolved in order to create the instance. Closes gh-32570