code: JCAContextProvider getJCAContextProvider(Class<?> workContextClass) {
          JCAContextProvider provider = null;
          for (Class<?> cl = workContextClass; provider == null && cl != null; cl = cl.getSuperclass())
              provider = contextProviders.getService(cl.getName());
  
          return provider;
      }
docs: Returns the JCAContextProvider for the specified work context class.
  
  @param workContextClass a WorkContext implementation class or ExecutionContext.
  @return the JCAContextProvider for the specified work context class.