docs: protected Bean<?> getBeanById(BeanManager bm, String id) {
  
          Bean<?> match = getUniqueBeanByBeanName(bm, id);
  
          if (match == null) {
              match = getUniqueBeanForBatchXMLEntry(bm, id);
          }
  
          if (match == null) {
              match = getUniqueBeanForClassName(bm, id);
          }
  
          return match;
      }