Uses of Class
org.springframework.beans.factory.support.RootBeanDefinition
Packages that use RootBeanDefinition
Package
Description
Support package for annotation-driven bean configuration.
Classes used in generated code to ease bean registration.
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.
Annotations and support classes for declarative JMS listener endpoints.
Classes supporting the
org.springframework.orm.jpa package.Java 5 annotation for asynchronous method execution.
-
Uses of RootBeanDefinition in org.springframework.beans.factory.annotation
Methods in org.springframework.beans.factory.annotation with parameters of type RootBeanDefinitionModifier and TypeMethodDescriptionAutowiredAnnotationBeanPostProcessor.buildAotContributor(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) voidInjectionMetadata.checkConfigMembers(RootBeanDefinition beanDefinition) protected AnnotationQualifierAnnotationAutowireCandidateResolver.getFactoryMethodAnnotation(RootBeanDefinition bd, Class<? extends Annotation> type) protected AnnotationQualifierAnnotationAutowireCandidateResolver.getQualifiedElementAnnotation(RootBeanDefinition bd, Class<? extends Annotation> type) voidAutowiredAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) voidInitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) -
Uses of RootBeanDefinition in org.springframework.beans.factory.generator
Methods in org.springframework.beans.factory.generator with parameters of type RootBeanDefinitionModifier and TypeMethodDescriptionAotContributingBeanPostProcessor.buildAotContributor(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) Build aBeanInstantiationContributorfor the given bean definition. -
Uses of RootBeanDefinition in org.springframework.beans.factory.generator.config
Methods in org.springframework.beans.factory.generator.config that return RootBeanDefinitionModifier and TypeMethodDescriptionBeanDefinitionRegistrar.toBeanDefinition()Return theRootBeanDefinitiondefined by this instance.Method parameters in org.springframework.beans.factory.generator.config with type arguments of type RootBeanDefinitionModifier and TypeMethodDescriptionBeanDefinitionRegistrar.customize(BeanDefinitionRegistrar.ThrowableConsumer<RootBeanDefinition> bd) Customize theRootBeanDefinitionusing the specified consumer. -
Uses of RootBeanDefinition in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support that return RootBeanDefinitionModifier and TypeMethodDescriptionRootBeanDefinition.cloneBeanDefinition()protected RootBeanDefinitionAbstractBeanFactory.getMergedBeanDefinition(String beanName, BeanDefinition bd) Return a RootBeanDefinition for the given top-level bean, by merging with the parent if the given bean's definition is a child bean definition.protected RootBeanDefinitionAbstractBeanFactory.getMergedBeanDefinition(String beanName, BeanDefinition bd, BeanDefinition containingBd) Return a RootBeanDefinition for the given bean, by merging with the parent if the given bean's definition is a child bean definition.protected RootBeanDefinitionAbstractBeanFactory.getMergedLocalBeanDefinition(String beanName) Return a merged RootBeanDefinition, traversing the parent bean definition if the specified bean corresponds to a child bean definition.protected RootBeanDefinitionGenericTypeAwareAutowireCandidateResolver.getResolvedDecoratedDefinition(RootBeanDefinition rbd) Methods in org.springframework.beans.factory.support with parameters of type RootBeanDefinitionModifier and TypeMethodDescriptionprotected voidAbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(RootBeanDefinition mbd, Class<?> beanType, String beanName) Apply MergedBeanDefinitionPostProcessors to the specified bean definition, invoking theirpostProcessMergedBeanDefinitionmethods.protected BeanWrapperAbstractAutowireCapableBeanFactory.autowireConstructor(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs) "autowire constructor" (with constructor arguments by type) behavior.protected voidAbstractBeanFactory.checkMergedBeanDefinition(RootBeanDefinition mbd, String beanName, Object[] args) Check the given merged bean definition, potentially throwing validation exceptions.protected ObjectAbstractAutowireCapableBeanFactory.createBean(String beanName, RootBeanDefinition mbd, Object[] args) Central method of this class: creates a bean instance, populates the bean instance, applies post-processors, etc.protected abstract ObjectAbstractBeanFactory.createBean(String beanName, RootBeanDefinition mbd, Object[] args) Create a bean instance for the given merged bean definition (and arguments).protected BeanWrapperAbstractAutowireCapableBeanFactory.createBeanInstance(String beanName, RootBeanDefinition mbd, Object[] args) Create a new instance for the specified bean, using an appropriate instantiation strategy: factory method, constructor autowiring, or simple instantiation.protected voidAbstractBeanFactory.destroyBean(String beanName, Object bean, RootBeanDefinition mbd) Destroy the given bean instance (usually a prototype instance obtained from this factory) according to the given bean definition.protected Class<?>AbstractAutowireCapableBeanFactory.determineTargetType(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Determine the target type for the given bean definition.protected ObjectAbstractAutowireCapableBeanFactory.doCreateBean(String beanName, RootBeanDefinition mbd, Object[] args) Actually create the specified bean.protected ObjectAbstractAutowireCapableBeanFactory.getEarlyBeanReference(String beanName, RootBeanDefinition mbd, Object bean) Obtain a reference for early access to the specified bean, typically for the purpose of resolving a circular reference.protected ObjectAbstractAutowireCapableBeanFactory.getObjectForBeanInstance(Object beanInstance, String name, String beanName, RootBeanDefinition mbd) Overridden in order to implicitly register the currently created bean as dependent on further beans getting programmatically retrieved during aSuppliercallback.protected ObjectAbstractBeanFactory.getObjectForBeanInstance(Object beanInstance, String name, String beanName, RootBeanDefinition mbd) Get the object for the given bean instance, either the bean instance itself or its created object in case of a FactoryBean.protected RootBeanDefinitionGenericTypeAwareAutowireCandidateResolver.getResolvedDecoratedDefinition(RootBeanDefinition rbd) protected ResolvableTypeGenericTypeAwareAutowireCandidateResolver.getReturnTypeForFactoryMethod(RootBeanDefinition rbd, DependencyDescriptor descriptor) protected ResolvableTypeAbstractAutowireCapableBeanFactory.getTypeForFactoryBean(String beanName, RootBeanDefinition mbd, boolean allowInit) This implementation attempts to query the FactoryBean's generic parameter metadata if present to determine the object type.protected ResolvableTypeAbstractBeanFactory.getTypeForFactoryBean(String beanName, RootBeanDefinition mbd, boolean allowInit) Determine the bean type for the given FactoryBean definition, as far as possible.protected Class<?>AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Determine the target type for the given bean definition which is based on a factory method.protected ObjectAbstractAutowireCapableBeanFactory.initializeBean(String beanName, Object bean, RootBeanDefinition mbd) Initialize the given bean instance, applying factory callbacks as well as init methods and bean post processors.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner) Return an instance of the bean with the given name in this factory.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given factory method.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given constructor.SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) SimpleInstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected BeanWrapperAbstractAutowireCapableBeanFactory.instantiateBean(String beanName, RootBeanDefinition mbd) Instantiate the given bean using its default constructor.protected BeanWrapperAbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(String beanName, RootBeanDefinition mbd, Object[] explicitArgs) Instantiate the bean using a named factory method.protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectSimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected ObjectSimpleInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected voidAbstractAutowireCapableBeanFactory.invokeCustomInitMethod(String beanName, Object bean, RootBeanDefinition mbd, String initMethodName) Invoke the specified custom init method on the given bean.protected voidAbstractAutowireCapableBeanFactory.invokeInitMethods(String beanName, Object bean, RootBeanDefinition mbd) Give a bean a chance to react now all its properties are set, and a chance to know about its owning bean factory (this object).protected booleanDefaultListableBeanFactory.isAutowireCandidate(String beanName, RootBeanDefinition mbd, DependencyDescriptor descriptor, AutowireCandidateResolver resolver) Determine whether the specified bean definition qualifies as an autowire candidate, to be injected into other beans which declare a dependency of matching type.protected booleanAbstractBeanFactory.isFactoryBean(String beanName, RootBeanDefinition mbd) Check whether the given bean is defined as aFactoryBean.protected voidAbstractAutowireCapableBeanFactory.populateBean(String beanName, RootBeanDefinition mbd, BeanWrapper bw) Populate the bean instance in the given BeanWrapper with the property values from the bean definition.voidMergedBeanDefinitionPostProcessor.postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) Post-process the given merged bean definition for the specified bean.protected Class<?>AbstractAutowireCapableBeanFactory.predictBeanType(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) protected Class<?>AbstractBeanFactory.predictBeanType(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Predict the eventual bean type (of the processed bean instance) for the specified bean.protected voidAbstractBeanFactory.registerDisposableBeanIfNecessary(String beanName, Object bean, RootBeanDefinition mbd) Add the given bean to the list of disposable beans in this factory, registering its DisposableBean interface and/or the given destroy method to be called on factory shutdown (if applicable).protected booleanAbstractBeanFactory.requiresDestruction(Object bean, RootBeanDefinition mbd) Determine whether the given bean requires destruction on shutdown.protected Class<?>AbstractBeanFactory.resolveBeanClass(RootBeanDefinition mbd, String beanName, Class<?>... typesToMatch) Resolve the bean class for the specified bean definition, resolving a bean class name into a Class reference (if necessary) and storing the resolved Class in the bean definition for further use.protected ObjectAbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(String beanName, RootBeanDefinition mbd) Apply before-instantiation post-processors, resolving whether there is a before-instantiation shortcut for the specified bean.Constructors in org.springframework.beans.factory.support with parameters of type RootBeanDefinitionModifierConstructorDescriptionRootBeanDefinition(RootBeanDefinition original) Create a new RootBeanDefinition as deep copy of the given bean definition. -
Uses of RootBeanDefinition in org.springframework.context.annotation
Methods in org.springframework.context.annotation with parameters of type RootBeanDefinitionModifier and TypeMethodDescriptionvoidCommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) -
Uses of RootBeanDefinition in org.springframework.jms.annotation
Methods in org.springframework.jms.annotation with parameters of type RootBeanDefinitionModifier and TypeMethodDescriptionvoidJmsListenerAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) -
Uses of RootBeanDefinition in org.springframework.orm.jpa.support
Methods in org.springframework.orm.jpa.support with parameters of type RootBeanDefinitionModifier and TypeMethodDescriptionvoidPersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) -
Uses of RootBeanDefinition in org.springframework.scheduling.annotation
Methods in org.springframework.scheduling.annotation with parameters of type RootBeanDefinitionModifier and TypeMethodDescriptionvoidScheduledAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName)