+ StringUtil.getNowTime("_MMddHHmmss"));
FileUtil.copy(configFile, tf);
LogFactory.getMVCLogger("INFO").write(
"backup file->" + tf.getAbsolutePath());
XMLWriter writer = BeanXMLUtil.getBeanXMLWriter(configFile,
MVCConfigBeanCreator.getInterBean());
writer.setBeanName("interceptor");
writer.setClass("interceptor", InterConfigBean.class);
writer.write();
StringBuilder tsb = new StringBuilder(
"InterConfig.class : 配置文件读取错误,已重写。异常捕获:");
tsb.append(sb.toString());
LogFactory.getMVCLogger("ERROR").write(tsb.toString());