Package org.jboss.jandex

Examples of org.jboss.jandex.AnnotationInstance.values()


            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");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.