Uses of Class
org.springframework.beans.factory.support.RegisteredBean
Package
Description
Support package for annotation-driven bean configuration.
AOT support for bean factories.
Classes supporting the
org.springframework.beans.factory
package.Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
Classes supporting the
org.springframework.orm.jpa
package.-
Uses of RegisteredBean in org.springframework.beans.factory.annotation
Modifier and TypeMethodDescriptionAutowiredAnnotationBeanPostProcessor.processAheadOfTime
(RegisteredBean registeredBean) InitDestroyAnnotationBeanPostProcessor.processAheadOfTime
(RegisteredBean registeredBean) -
Uses of RegisteredBean in org.springframework.beans.factory.aot
Modifier and TypeMethodDescriptionorg.springframework.javapoet.CodeBlock
InstanceSupplierCodeGenerator.generateCode
(RegisteredBean registeredBean, Executable constructorOrFactoryMethod) Deprecated.org.springframework.javapoet.CodeBlock
InstanceSupplierCodeGenerator.generateCode
(RegisteredBean registeredBean, RegisteredBean.InstantiationDescriptor instantiationDescriptor) Generate the instance supplier code.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.BeanRegistrationAotProcessor.processAheadOfTime
(RegisteredBean registeredBean) Process the givenRegisteredBean
instance ahead-of-time and return a contribution ornull
.<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, 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.void
AutowiredMethodArgumentsResolver.resolve
(RegisteredBean registeredBean, 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.AutowiredFieldValueResolver.resolveObject
(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.Modifier and TypeMethodDescriptionBeanInstanceSupplier.withGenerator
(ThrowingBiFunction<RegisteredBean, AutowiredArguments, T> generator) Return a newBeanInstanceSupplier
instance that uses the specifiedgenerator
bi-function to instantiate the underlying bean.BeanInstanceSupplier.withGenerator
(ThrowingFunction<RegisteredBean, T> generator) Return a newBeanInstanceSupplier
instance that uses the specifiedgenerator
function to instantiate the underlying bean. -
Uses of RegisteredBean in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionRegisteredBean.getParent()
Return the parent of this instance ornull
if not an inner-bean.static RegisteredBean
RegisteredBean.of
(ConfigurableListableBeanFactory beanFactory, String beanName) Create a newRegisteredBean
instance for a regular bean.static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition) Create a newRegisteredBean
instance for an inner-bean.static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, BeanDefinition innerBeanDefinition) Create a newRegisteredBean
instance for an inner-bean.static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, BeanDefinitionHolder innerBean) Create a newRegisteredBean
instance for an inner-bean.Modifier and TypeMethodDescriptionInstanceSupplier.get
(RegisteredBean registeredBean) Get the supplied instance.static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition) Create a newRegisteredBean
instance for an inner-bean.static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, BeanDefinition innerBeanDefinition) Create a newRegisteredBean
instance for an inner-bean.static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, BeanDefinitionHolder innerBean) Create a newRegisteredBean
instance for an inner-bean.Modifier and TypeMethodDescriptiondefault <V> InstanceSupplier<V>
InstanceSupplier.andThen
(ThrowingBiFunction<RegisteredBean, ? super T, ? extends V> after) Return a composed instance supplier that first obtains the instance from this supplier and then applies theafter
function to obtain the result. -
Uses of RegisteredBean in org.springframework.context.annotation
Modifier and TypeMethodDescriptionCommonAnnotationBeanPostProcessor.processAheadOfTime
(RegisteredBean registeredBean) ConfigurationClassPostProcessor.processAheadOfTime
(RegisteredBean registeredBean) <T> T
ResourceElementResolver.resolve
(RegisteredBean registeredBean) Resolve the value for the specified registered bean.abstract void
ResourceElementResolver.resolveAndSet
(RegisteredBean registeredBean, Object instance) Resolve the value for the specified registered bean and set it using reflection. -
Uses of RegisteredBean in org.springframework.orm.jpa.support
Modifier and TypeMethodDescriptionPersistenceAnnotationBeanPostProcessor.processAheadOfTime
(RegisteredBean registeredBean)
InstanceSupplierCodeGenerator.generateCode(RegisteredBean, InstantiationDescriptor)