return;
}
validate(annotationsOnBean, dependsOnAnnotations, singletonComponentDescription.getEJBName());
final AnnotationInstance dependsOnAnnotation = dependsOnAnnotations.get(0);
// Add the dependencies
final List<AnnotationValue> annotationValues = dependsOnAnnotation.values();
for (AnnotationValue annotationValue : annotationValues) {
componentDescription.addDependency(createServiceName(deploymentUnit, annotationValue.asString(), null),
DependencyType.REQUIRED);
}
logger.info(singletonComponentDescription.getEJBName() + " bean has @DependsOn");