# Uses of Class
org.springframework.beans.factory.support.RegisteredBean

Packages that use RegisteredBean
Package
Description
org.springframework.beans.factory.annotation
Support package for annotation-driven bean configuration.
org.springframework.beans.factory.aot
AOT support for bean factories.
org.springframework.beans.factory.support
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 RegisteredBean
Modifier and Type
Method
Description
`BeanRegistrationAotContribution`
AutowiredAnnotationBeanPostProcessor.`processAheadOfTime(RegisteredBean registeredBean)`
`BeanRegistrationAotContribution`
InitDestroyAnnotationBeanPostProcessor.`processAheadOfTime(RegisteredBean registeredBean)`

## Uses of RegisteredBean in org.springframework.beans.factory.aot

Methods in org.springframework.beans.factory.aot with parameters of type RegisteredBean
Modifier and Type
Method
Description
`org.springframework.javapoet.CodeBlock`
InstanceSupplierCodeGenerator.`generateCode(RegisteredBean registeredBean, Executable constructorOrFactoryMethod)`
Deprecated.
in favor of `InstanceSupplierCodeGenerator.generateCode(RegisteredBean, InstantiationDescriptor)`
`org.springframework.javapoet.CodeBlock`
InstanceSupplierCodeGenerator.`generateCode(RegisteredBean registeredBean, RegisteredBean.InstantiationDescriptor instantiationDescriptor)`
Generate the instance supplier code.
`T`
BeanInstanceSupplier.`get(RegisteredBean registeredBean)`
`org.springframework.javapoet.ClassName`
BeanRegistrationCodeFragments.`getTarget(RegisteredBean registeredBean)`
Return the target for the registration.
`org.springframework.javapoet.ClassName`
BeanRegistrationCodeFragmentsDecorator.`getTarget(RegisteredBean registeredBean)`
`boolean`
BeanRegistrationExcludeFilter.`isExcludedFromAotProcessing(RegisteredBean registeredBean)`
Return if the registered bean should be excluded from AOT processing and registration.
`BeanRegistrationAotContribution`
BeanRegistrationAotProcessor.`processAheadOfTime(RegisteredBean registeredBean)`
Process the given `RegisteredBean` instance ahead-of-time and return a contribution or `null`.
`<T> T`
AutowiredFieldValueResolver.`resolve(RegisteredBean registeredBean)`
Resolve the field value for the specified registered bean.
`<T> T`
AutowiredFieldValueResolver.`resolve(RegisteredBean registeredBean, Class<T> requiredType)`
Resolve the field value for the specified registered bean.
`<T> void`
AutowiredFieldValueResolver.`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.
`AutowiredArguments`
AutowiredMethodArgumentsResolver.`resolve(RegisteredBean registeredBean)`
Resolve the method arguments for the specified registered bean.
`void`
AutowiredMethodArgumentsResolver.`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.
`void`
AutowiredMethodArgumentsResolver.`resolveAndInvoke(RegisteredBean registeredBean, Object instance)`
Resolve the method arguments for the specified registered bean and invoke the method using reflection.
`void`
AutowiredFieldValueResolver.`resolveAndSet(RegisteredBean registeredBean, Object instance)`
Resolve the field value for the specified registered bean and set it using reflection.
`Object`
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 RegisteredBean
Modifier and Type
Method
Description
`BeanInstanceSupplier<T>`
BeanInstanceSupplier.`withGenerator(org.springframework.util.function.ThrowingBiFunction<RegisteredBean,AutowiredArguments,T> generator)`
Return a new `BeanInstanceSupplier` instance that uses the specified `generator` bi-function to instantiate the underlying bean.
`BeanInstanceSupplier<T>`
BeanInstanceSupplier.`withGenerator(org.springframework.util.function.ThrowingFunction<RegisteredBean,T> generator)`
Return a new `BeanInstanceSupplier` instance that uses the specified `generator` function to instantiate the underlying bean.
Constructors in org.springframework.beans.factory.aot with parameters of type RegisteredBean
Modifier
Constructor
Description
``
`AotBeanProcessingException(RegisteredBean registeredBean, String msg)`
Shortcut to create an instance with the `RegisteredBean` that fails to be processed with only a detail message.
``
`AotBeanProcessingException(RegisteredBean registeredBean, String msg, Throwable cause)`
Create an instance with the `RegisteredBean` that 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 RegisteredBean
Modifier and Type
Method
Description
`RegisteredBean`
RegisteredBean.`getParent()`
Return the parent of this instance or `null` if not an inner-bean.
`static RegisteredBean`
RegisteredBean.`of(ConfigurableListableBeanFactory beanFactory, String beanName)`
Create a new `RegisteredBean` instance for a regular bean.
`static RegisteredBean`
RegisteredBean.`ofInnerBean(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition)`
Create a new `RegisteredBean` instance for an inner-bean.
`static RegisteredBean`
RegisteredBean.`ofInnerBean(RegisteredBean parent, BeanDefinition innerBeanDefinition)`
Create a new `RegisteredBean` instance for an inner-bean.
`static RegisteredBean`
RegisteredBean.`ofInnerBean(RegisteredBean parent, BeanDefinitionHolder innerBean)`
Create a new `RegisteredBean` instance for an inner-bean.
Methods in org.springframework.beans.factory.support with parameters of type RegisteredBean
Modifier and Type
Method
Description
`T`
InstanceSupplier.`get(RegisteredBean registeredBean)`
Get the supplied instance.
`static RegisteredBean`
RegisteredBean.`ofInnerBean(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition)`
Create a new `RegisteredBean` instance for an inner-bean.
`static RegisteredBean`
RegisteredBean.`ofInnerBean(RegisteredBean parent, BeanDefinition innerBeanDefinition)`
Create a new `RegisteredBean` instance for an inner-bean.
`static RegisteredBean`
RegisteredBean.`ofInnerBean(RegisteredBean parent, BeanDefinitionHolder innerBean)`
Create a new `RegisteredBean` instance for an inner-bean.
Method parameters in org.springframework.beans.factory.support with type arguments of type RegisteredBean
Modifier and Type
Method
Description
`default <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 the `after` function to obtain the result.