.itemKeys());
// 反索引
for (String key : itemKeys) {
DisconfKey disconfKey = new DisconfKey(DisConfigTypeEnum.ITEM,
key);
addOne2InverseMap(disconfKey, inverseMap, iDisconfUpdate);
}
//
// 配置文件
//
List<Class<?>> classes = Arrays.asList(disconfUpdateService
.classes());
// 反索引
for (Class<?> curClass : classes) {
// 获取其注解
DisconfFile disconfFile = curClass
.getAnnotation(DisconfFile.class);
if (disconfFile == null) {
LOGGER.error(
"cannot find DisconfFile annotation for class when set callback: {} ",
curClass.toString());
continue;
}
DisconfKey disconfKey = new DisconfKey(DisConfigTypeEnum.FILE,
disconfFile.filename());
addOne2InverseMap(disconfKey, inverseMap, iDisconfUpdate);
}
}