Object classInstance = configClass.newInstance();
loadResourceProperties(configClass, classInstance);
Method[] methods = configClass.getDeclaredMethods();
for (Method method : methods) {
TestBean testBean = method.getAnnotation(TestBean.class);
if (testBean != null) {
String beanName = testBean.value();
Class<?> beanType = method.getReturnType();
Object[] params = {};
Object object = method.invoke(classInstance, params);
if (!(beanName.length() <= 0)) {
ConfigContext.setTestBeanByName(beanName, object);