final URL resource = getResource(clazz, path);
if (resource != null) {
resources.put("META-INF/validation.xml", resource);
} else {
throw new OpenEJBTckDeploymentRuntimeException("can't find validation descriptor file " + path);
}
}
if (clazz.isAnnotationPresent(Resource.class)) {
final Resource resourceAnn = clazz.getAnnotation(Resource.class);