code: public static Mirror newInstanceForClassName(String className) 
  	throws ClassNotFoundException, InstantiationException, IllegalAccessException
  	{
  		className = className.trim();
  		Class<?> objClass = Class.forName(className);
  
  		   
  		return new Mirror(ClassPath.newInstance(objClass));
  	}
docs: Create an instance of the given object
  @param className the class name
  @return the object reflector instance
  @throws ClassNotFoundException
  @throws InstantiationException
  @throws IllegalAccessException