code: public Object makeObjectFromClassName(String className, String version, boolean bErrorIfNotFound) throws RuntimeException
      {
          if (className == null)
              return null;
          className = ClassServiceUtility.getFullClassName(className);
  
          Class<?> clazz = null;
          try {
              clazz = Class.forName(className);
          } catch (ClassNotFoundException e) {
              if (this.getClassFinder(null) != null)
                  clazz = this.getClassFinder(null).findClass(className, version);	// Try to find this class in the obr repos
              if (clazz == null)
                  if (bErrorIfNotFound)
                      throw new RuntimeException(e.getMessage());
          }
  
          Object object = null;
          try {
              if (clazz != null)
                  object = clazz.newInstance();
          } catch (InstantiationException e)   {
              if (bErrorIfNotFound)
                  throw new RuntimeException(e.getMessage());
          } catch (IllegalAccessException e)   {
              if (bErrorIfNotFound)
                  throw new RuntimeException(e.getMessage());
          } catch (Exception e) {
              if (bErrorIfNotFound)
                  throw new RuntimeException(e.getMessage());
          }
          return object;
      }
docs: Create this object given the class name.
  @param className
  @return