This commit reinstates support for the legacy JSR-250 @javax.annotation.ManagedBean and JSR-330 @javax.inject.Named annotations with regard to component name lookups and component scanning. Closes gh-31090