Tabnine Logo
QualifierAnnotationAutowireCandidateResolver.isQualifier
Code IndexAdd Tabnine to your IDE (free)

How to use
isQualifier
method
in
org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver

Best Java code snippets using org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver.isQualifier (Showing top 6 results out of 315)

origin: spring-projects/spring-framework

/**
 * Determine whether the given dependency declares a qualifier annotation.
 * @see #isQualifier(Class)
 * @see Qualifier
 */
@Override
public boolean hasQualifier(DependencyDescriptor descriptor) {
  for (Annotation ann : descriptor.getAnnotations()) {
    if (isQualifier(ann.annotationType())) {
      return true;
    }
  }
  return false;
}
origin: org.springframework/spring-beans

/**
 * Determine whether the given dependency declares a qualifier annotation.
 * @see #isQualifier(Class)
 * @see Qualifier
 */
@Override
public boolean hasQualifier(DependencyDescriptor descriptor) {
  for (Annotation ann : descriptor.getAnnotations()) {
    if (isQualifier(ann.annotationType())) {
      return true;
    }
  }
  return false;
}
origin: spring-projects/spring-framework

boolean checkMeta = true;
boolean fallbackToMeta = false;
if (isQualifier(type)) {
  if (!checkQualifier(bdHolder, annotation, typeConverter)) {
    fallbackToMeta = true;
  for (Annotation metaAnn : type.getAnnotations()) {
    Class<? extends Annotation> metaType = metaAnn.annotationType();
    if (isQualifier(metaType)) {
      foundMeta = true;
origin: org.springframework/spring-beans

boolean checkMeta = true;
boolean fallbackToMeta = false;
if (isQualifier(type)) {
  if (!checkQualifier(bdHolder, annotation, typeConverter)) {
    fallbackToMeta = true;
  for (Annotation metaAnn : type.getAnnotations()) {
    Class<? extends Annotation> metaType = metaAnn.annotationType();
    if (isQualifier(metaType)) {
      foundMeta = true;
origin: camunda/camunda-bpm-platform

/**
 * Match the given qualifier annotations against the candidate bean definition.
 */
protected boolean checkQualifiers(BeanDefinitionHolder bdHolder, Annotation[] annotationsToSearch) {
  if (ObjectUtils.isEmpty(annotationsToSearch)) {
    return true;
  }
  SimpleTypeConverter typeConverter = new SimpleTypeConverter();
  for (Annotation annotation : annotationsToSearch) {
    Class<? extends Annotation> type = annotation.annotationType();
    if (isQualifier(type)) {
      if (!checkQualifier(bdHolder, annotation, typeConverter)) {
        return false;
      }
    }
  }
  return true;
}
origin: apache/servicemix-bundles

boolean checkMeta = true;
boolean fallbackToMeta = false;
if (isQualifier(type)) {
  if (!checkQualifier(bdHolder, annotation, typeConverter)) {
    fallbackToMeta = true;
  for (Annotation metaAnn : type.getAnnotations()) {
    Class<? extends Annotation> metaType = metaAnn.annotationType();
    if (isQualifier(metaType)) {
      foundMeta = true;
org.springframework.beans.factory.annotationQualifierAnnotationAutowireCandidateResolverisQualifier

Javadoc

Checks whether the given annotation type is a recognized qualifier type.

Popular methods of QualifierAnnotationAutowireCandidateResolver

  • <init>
    Create a new QualifierAnnotationAutowireCandidateResolver for the given qualifier annotation types.
  • addQualifierType
    Register the given type to be used as a qualifier when autowiring.This identifies qualifier annotati
  • checkQualifier
    Match the given qualifier annotation against the candidate bean definition.
  • checkQualifiers
    Match the given qualifier annotations against the candidate bean definition.
  • extractValue
    Extract the value attribute from the given annotation.
  • findValue
    Determine a suggested value from any of the given candidate annotations.
  • getBeanFactory
  • getFactoryMethodAnnotation
  • getQualifiedElementAnnotation
  • getResolvedDecoratedDefinition
  • getSuggestedValue
    Determine whether the given dependency declares a value annotation.
  • setBeanFactory
  • getSuggestedValue,
  • setBeanFactory

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Runner (org.openjdk.jmh.runner)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now