public Class<? extends Annotation>[] getTypeDependencies() { return getEjbAndWebAnnotationTypes(); } }
protected boolean isAEjbComponentClass(Annotation[] annotations) { Class<? extends Annotation> ejbAnnotations[] = getEjbAnnotationTypes(); for (Annotation annotation : annotations) { for (Class<? extends Annotation> ejbAnnotation : ejbAnnotations) { if (ejbAnnotation.equals(annotation.annotationType())) { return true; } } } return false; }
protected boolean isAWebComponentClass(Annotation[] annotations) { Class<? extends Annotation> webAnnotations[] = getWebAnnotationTypes(); for (Annotation annotation : annotations) { for (Class<? extends Annotation> webAnnotation : webAnnotations) { if (webAnnotation.equals(annotation.annotationType())) { return true; } } } return false; }
return getInvalidAnnotatedElementHandlerResult( ainfo.getProcessingContext().getHandler(), ainfo); (ResourceContainerContext)aeHandler }; } else { return getInvalidAnnotatedElementHandlerResult(aeHandler, ainfo); return processAnnotation(ainfo, rcContexts);
return getInvalidAnnotatedElementHandlerResult( ainfo.getProcessingContext().getHandler(), ainfo); (ResourceContainerContext)aeHandler }; } else { return getInvalidAnnotatedElementHandlerResult(aeHandler, ainfo); return processAnnotation(ainfo, rcContexts);
public Class<? extends Annotation>[] getTypeDependencies() { return getEjbAndWebAnnotationTypes(); }