code: public ClassLoader determineActualClassLoader() {
          if (classLoader != null) {
              return classLoader;
          } else if (kieContainer != null) {
              return kieContainer.getClassLoader();
          }
          return getClass().getClassLoader();
      }
docs: ************************************************************************