code: public static <T> void injectEEFields(Iterable<Set<ResourceInjection<?>>> resourceInjectionsHierarchy,
              T beanInstance, CreationalContext<T> ctx) {
          for (Set<ResourceInjection<?>> resourceInjections : resourceInjectionsHierarchy) {
              for (ResourceInjection<?> resourceInjection : resourceInjections) {
                  resourceInjection.injectResourceReference(beanInstance, ctx);
              }
          }
      }
docs: Injects EJBs and other EE resources.
  
  @param resourceInjectionsHierarchy
  @param beanInstance
  @param ctx