throw new RuntimeException("Error loading interface class.", e);
}
RestResource restResource = AnnotationUtils.findAnnotation(marshallingServiceClass, RestResource.class);
if (restResource.exportClient()) {
registerClient(registry, marshallingServiceClass);
}
}
}
}