参考Beans类。
instantiate
public static Object instantiate(ClassLoader cls,
                                 String beanName)
                          throws IOException,
                                 ClassNotFoundExceptionInstantiate a JavaBean. 
Parameters:
cls - the class-loader from which we should create the bean. If this is null, then the system class-loader is used.
beanName - the name of the bean within the class-loader. For example "sun.beanbox.foobah" 
Throws: 
ClassNotFoundException - if the class of a serialized object could not be found. 
IOException - if an I/O error occurs.