第一种:
Test test=new Test();
第二种:
test=Class.forName(Test).newInstance();
第三种
String interceptorName="org.aaa.Test";Class interceptorClass=Current.class.getClassLoader().loadClass(interceptorName);Interceptor inerceptor=(Interceptor)interceptorClass.newInstance();