SpringBean 与对象转化
static {
//允许BeanUtils.copyProperties时的源目标的util类型的值允许为空
ConvertUtils.register(new IntegerConverter(null), Integer.class);
}
maptoBean
Map<String, Object> source
bean = clazz.newInstance();
org.apache.commons.beanutils.BeanUtils.populate(bean, source);