}
}
classes = classFinder.findAnnotatedClasses(DataSourceDefinition.class);
if (classes != null) {
for (Class clazz : classes) {
DataSourceDefinition dsDefinition = (DataSourceDefinition) clazz.getAnnotation(DataSourceDefinition.class);
processDefinition(dsDefinition, app);
}
}
// step 2: bind all defined data sources into jndi