// step 1: process annotations and update deployment descriptor
List<Class> classes;
classes = classFinder.findAnnotatedClasses(DataSourceDefinitions.class);
if (classes != null) {
for (Class clazz : classes) {
DataSourceDefinitions dsDefinitions = (DataSourceDefinitions) clazz.getAnnotation(DataSourceDefinitions.class);
for (DataSourceDefinition dsDefinition : dsDefinitions.value()) {
processDefinition(dsDefinition, app);
}
}
}