Currently the GenericApplicationContext configures the AppliationStartup on the BeanFactory only right before refreshing the BeanFactory. Delaying this has no purpose and we should instead configure it as soon as possible by overriding the setter method.