Uses of Class
org.springframework.beans.factory.aot.BeanInstanceSupplier
Packages that use BeanInstanceSupplier
-
Uses of BeanInstanceSupplier in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot that return BeanInstanceSupplierModifier and TypeMethodDescriptionstatic <T> BeanInstanceSupplier<T> BeanInstanceSupplier.forConstructor(Class<?>... parameterTypes) Create aBeanInstanceSupplierthat resolves arguments for the specified bean constructor.static <T> BeanInstanceSupplier<T> BeanInstanceSupplier.forFactoryMethod(Class<?> declaringClass, String methodName, Class<?>... parameterTypes) Create a newBeanInstanceSupplierthat resolves arguments for the specified factory method.BeanInstanceSupplier.withGenerator(ThrowingBiFunction<RegisteredBean, AutowiredArguments, T> generator) Return a newBeanInstanceSupplierinstance that uses the specifiedgeneratorbi-function to instantiate the underlying bean.BeanInstanceSupplier.withGenerator(ThrowingFunction<RegisteredBean, T> generator) Return a newBeanInstanceSupplierinstance that uses the specifiedgeneratorfunction to instantiate the underlying bean.BeanInstanceSupplier.withShortcut(String... beanNames) Return a newBeanInstanceSupplierinstance that uses direct bean name injection shortcuts for specific parameters.