
SharedMetadataReaderFactoryContextInitializer exposes an additional bean post processor that is only relevant when parsing the bean factory, auto-configurations in particular. Given that this does not happen in an AOT-optimized context, this commit excludes the bean and makes sure the initializer does not do anything at runtime. Closes gh-33216