Uses of Class
org.springframework.beans.factory.support.RegisteredBean
Packages that use RegisteredBean
Package
Description
Support package for annotation-driven bean configuration.
AOT support for bean factories.
Classes supporting the
org.springframework.beans.factory package.-
Uses of RegisteredBean in org.springframework.beans.factory.annotation
Methods in org.springframework.beans.factory.annotation with parameters of type RegisteredBeanModifier and TypeMethodDescriptionAutowiredAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) InitDestroyAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) -
Uses of RegisteredBean in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot with parameters of type RegisteredBeanModifier and TypeMethodDescriptionorg.springframework.javapoet.CodeBlockInstanceSupplierCodeGenerator.generateCode(RegisteredBean registeredBean, Executable constructorOrFactoryMethod) Deprecated.org.springframework.javapoet.CodeBlockInstanceSupplierCodeGenerator.generateCode(RegisteredBean registeredBean, RegisteredBean.InstantiationDescriptor instantiationDescriptor) Generate the instance supplier code.BeanInstanceSupplier.get(RegisteredBean registeredBean) org.springframework.javapoet.ClassNameBeanRegistrationCodeFragments.getTarget(RegisteredBean registeredBean) Return the target for the registration.org.springframework.javapoet.ClassNameBeanRegistrationCodeFragmentsDecorator.getTarget(RegisteredBean registeredBean) booleanBeanRegistrationExcludeFilter.isExcludedFromAotProcessing(RegisteredBean registeredBean) Return if the registered bean should be excluded from AOT processing and registration.BeanRegistrationAotProcessor.processAheadOfTime(RegisteredBean registeredBean) Process the givenRegisteredBeaninstance ahead-of-time and return a contribution ornull.<T> TAutowiredFieldValueResolver.resolve(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.<T> TAutowiredFieldValueResolver.resolve(RegisteredBean registeredBean, Class<T> requiredType) Resolve the field value for the specified registered bean.<T> voidAutowiredFieldValueResolver.resolve(RegisteredBean registeredBean, org.springframework.util.function.ThrowingConsumer<T> action) Resolve the field for the specified registered bean and provide it to the given action.AutowiredMethodArgumentsResolver.resolve(RegisteredBean registeredBean) Resolve the method arguments for the specified registered bean.voidAutowiredMethodArgumentsResolver.resolve(RegisteredBean registeredBean, org.springframework.util.function.ThrowingConsumer<AutowiredArguments> action) Resolve the method arguments for the specified registered bean and provide it to the given action.voidAutowiredMethodArgumentsResolver.resolveAndInvoke(RegisteredBean registeredBean, Object instance) Resolve the method arguments for the specified registered bean and invoke the method using reflection.voidAutowiredFieldValueResolver.resolveAndSet(RegisteredBean registeredBean, Object instance) Resolve the field value for the specified registered bean and set it using reflection.AutowiredFieldValueResolver.resolveObject(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.Method parameters in org.springframework.beans.factory.aot with type arguments of type RegisteredBeanModifier and TypeMethodDescriptionBeanInstanceSupplier.withGenerator(org.springframework.util.function.ThrowingBiFunction<RegisteredBean, AutowiredArguments, T> generator) Return a newBeanInstanceSupplierinstance that uses the specifiedgeneratorbi-function to instantiate the underlying bean.BeanInstanceSupplier.withGenerator(org.springframework.util.function.ThrowingFunction<RegisteredBean, T> generator) Return a newBeanInstanceSupplierinstance that uses the specifiedgeneratorfunction to instantiate the underlying bean.Constructors in org.springframework.beans.factory.aot with parameters of type RegisteredBeanModifierConstructorDescriptionAotBeanProcessingException(RegisteredBean registeredBean, String msg) Shortcut to create an instance with theRegisteredBeanthat fails to be processed with only a detail message.AotBeanProcessingException(RegisteredBean registeredBean, String msg, Throwable cause) Create an instance with theRegisteredBeanthat fails to be processed, a detail message, and an optional root cause. -
Uses of RegisteredBean in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support that return RegisteredBeanModifier and TypeMethodDescriptionRegisteredBean.getParent()Return the parent of this instance ornullif not an inner-bean.static RegisteredBeanRegisteredBean.of(ConfigurableListableBeanFactory beanFactory, String beanName) Create a newRegisteredBeaninstance for a regular bean.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition) Create a newRegisteredBeaninstance for an inner-bean.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, BeanDefinition innerBeanDefinition) Create a newRegisteredBeaninstance for an inner-bean.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, BeanDefinitionHolder innerBean) Create a newRegisteredBeaninstance for an inner-bean.Methods in org.springframework.beans.factory.support with parameters of type RegisteredBeanModifier and TypeMethodDescriptionInstanceSupplier.get(RegisteredBean registeredBean) Get the supplied instance.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition) Create a newRegisteredBeaninstance for an inner-bean.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, BeanDefinition innerBeanDefinition) Create a newRegisteredBeaninstance for an inner-bean.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, BeanDefinitionHolder innerBean) Create a newRegisteredBeaninstance for an inner-bean.Method parameters in org.springframework.beans.factory.support with type arguments of type RegisteredBeanModifier and TypeMethodDescriptiondefault <V> InstanceSupplier<V>InstanceSupplier.andThen(org.springframework.util.function.ThrowingBiFunction<RegisteredBean, ? super T, ? extends V> after) Return a composed instance supplier that first obtains the instance from this supplier and then applies theafterfunction to obtain the result.
InstanceSupplierCodeGenerator.generateCode(RegisteredBean, InstantiationDescriptor)