// We sort alphabetically to ensure deterministic order of routing types.
Collections.sort(classFilePaths);
for (String classFilePath : classFilePaths) {
URL resource = loader.findResource(classFilePath);
if (resource != null) {
String javaName =
classFilePath.replace('/', '.').substring(0, classFilePath.lastIndexOf(".class"));
Class<?> dtoInterface = Class.forName(javaName, false, loader);
if (dtoInterface.isInterface()) {