Update `OnBeanCondition` with a variant of `getBeanNamesForAnnotation` that does not cause early `FactoryBean` initialization. Fixes gh-38473
Update `OnBeanCondition` with a variant of `getBeanNamesForAnnotation` that does not cause early `FactoryBean` initialization. Fixes gh-38473