src/main/java/org/jboss/util/Classes.java
public static Class loadClass(String className) throws ClassNotFoundException
   {
      return loadClass(className, Thread.currentThread().getContextClassLoader());
   }
public static Class loadClass(String className) throws ClassNotFoundException
   {
      return loadClass(className, Thread.currentThread().getContextClassLoader());
   }
public static Class loadClass ( String className ) throws ClassNotFoundException { return loadClass ( className , Thread . currentThread ( ) . getContextClassLoader ( ) ) ; }
This method acts equivalently to invoking
<code>Thread.currentThread().getContextClassLoader().loadClass(className);</code> but it also
supports primitive types and array classes of object types or primitive types.

@param className    the qualified name of the class or the name of primitive type or
array in the same format as returned by the
<code>java.lang.Class.getName()</code> method.
@return             the Class object for the requested className

@throws ClassNotFoundException when the <code>classLoader</code> can not find the requested class
This method acts equivalently to invoking <code > Thread . currentThread () . getContextClassLoader () . loadClass ( className ) ; < / code > but it also supports primitive types and array classes of object types or primitive types .