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

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

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

origin: spring-projects/spring-framework

/**
 * Determine whether the given dependency declares a value annotation.
 * @see Value
 */
@Override
@Nullable
public Object getSuggestedValue(DependencyDescriptor descriptor) {
  Object value = findValue(descriptor.getAnnotations());
  if (value == null) {
    MethodParameter methodParam = descriptor.getMethodParameter();
    if (methodParam != null) {
      value = findValue(methodParam.getMethodAnnotations());
    }
  }
  return value;
}
origin: org.springframework/spring-beans

/**
 * Determine whether the given dependency declares a value annotation.
 * @see Value
 */
@Override
@Nullable
public Object getSuggestedValue(DependencyDescriptor descriptor) {
  Object value = findValue(descriptor.getAnnotations());
  if (value == null) {
    MethodParameter methodParam = descriptor.getMethodParameter();
    if (methodParam != null) {
      value = findValue(methodParam.getMethodAnnotations());
    }
  }
  return value;
}
origin: camunda/camunda-bpm-platform

/**
 * Determine whether the given dependency carries a value annotation.
 * @see Value
 */
public Object getSuggestedValue(DependencyDescriptor descriptor) {
  Object value = findValue(descriptor.getAnnotations());
  if (value == null) {
    MethodParameter methodParam = descriptor.getMethodParameter();
    if (methodParam != null) {
      value = findValue(methodParam.getMethodAnnotations());
    }
  }
  return value;
}
org.springframework.beans.factory.annotationQualifierAnnotationAutowireCandidateResolverfindValue

Javadoc

Determine a suggested value from any of the given candidate annotations.

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.
  • isQualifier
    Checks whether the given annotation type is a recognized qualifier type.
  • extractValue
    Extract the value attribute from the given annotation.
  • getBeanFactory
  • getFactoryMethodAnnotation
  • getQualifiedElementAnnotation
  • getResolvedDecoratedDefinition
  • getSuggestedValue
    Determine whether the given dependency declares a value annotation.
  • setBeanFactory
  • getSuggestedValue,
  • setBeanFactory

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • String (java.lang)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Github Copilot alternatives
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