Class DefaultBeanRegistrationContributionProvider
java.lang.Object
org.springframework.beans.factory.generator.DefaultBeanRegistrationContributionProvider
- All Implemented Interfaces:
BeanRegistrationContributionProvider
public final class DefaultBeanRegistrationContributionProvider
extends Object
implements BeanRegistrationContributionProvider
Default
BeanRegistrationContributionProvider implementation.- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetBeanInstantiationGenerator(String beanName, RootBeanDefinition beanDefinition) getContributionFor(String beanName, RootBeanDefinition beanDefinition) Return theBeanFactoryContributionthat is capable of contributing the registration of a bean for the givenRootBeanDefinitionornullif the specified bean definition is not supported.
-
Constructor Details
-
DefaultBeanRegistrationContributionProvider
-
-
Method Details
-
getContributionFor
public BeanRegistrationBeanFactoryContribution getContributionFor(String beanName, RootBeanDefinition beanDefinition) Description copied from interface:BeanRegistrationContributionProviderReturn theBeanFactoryContributionthat is capable of contributing the registration of a bean for the givenRootBeanDefinitionornullif the specified bean definition is not supported.- Specified by:
getContributionForin interfaceBeanRegistrationContributionProvider- Parameters:
beanName- the bean name to handlebeanDefinition- the merged bean definition- Returns:
- a contribution for the specified bean definition or
null
-
getBeanInstantiationGenerator
public BeanInstantiationGenerator getBeanInstantiationGenerator(String beanName, RootBeanDefinition beanDefinition)
-