Class AutowiredMethodArgumentsResolver

java.lang.Object
org.springframework.beans.factory.aot.AutowiredMethodArgumentsResolver

public final class AutowiredMethodArgumentsResolver extends Object
Resolver used to support the autowiring of methods. Typically used in AOT-processed applications as a targeted alternative to the AutowiredAnnotationBeanPostProcessor.

When resolving arguments in a native image, the Method being used must be marked with an introspection hint so that field annotations can be read. Full invocation hints are only required if the resolveAndInvoke(RegisteredBean, Object) method of this class is being used (typically to support private methods).

Since:
6.0
Author:
Phillip Webb, Stephane Nicoll