This commit adds a way to refresh a GenericApplicationContext for ahead of time processing: refreshForAotProcessing() processes the bean factory up to a point where it is about to create bean instances. MergedBeanDefinitionPostProcessor implementations are the only bean post processors that are invoked during this phase. Closes gh-28065