code: 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;
      }
docs: @param id Either the EL name of the bean, or its fully qualified class name.
  
  @return the bean for the given artifact id.