code: @Override
      public Object load(String batchId) {
  
          Object loadedArtifact;
  
          loadedArtifact = getArtifactById(batchId);
  
          if (loadedArtifact != null) {
              if (logger.isLoggable(Level.FINEST)) {
                  logger.finest("load: batchId: " + batchId
                                + ", artifact: " + loadedArtifact
                                + ", artifact class: " + loadedArtifact.getClass().getCanonicalName());
              }
          }
  
          return loadedArtifact;
      }
docs: Use CDI to load the artifact with the given ID.
  
  @return the loaded artifact; or null if CDI is not enabled for the app.