Uses of Interface
org.springframework.beans.factory.config.BeanDefinitionCustomizer
Package
Description
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.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
-
Uses of BeanDefinitionCustomizer in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionBeanDefinitionBuilder.applyCustomizers
(BeanDefinitionCustomizer... customizers) Apply the given customizers to the underlying bean definition. -
Uses of BeanDefinitionCustomizer in org.springframework.context.annotation
Modifier and TypeMethodDescription<T> void
AnnotatedBeanDefinitionReader.registerBean
(Class<T> beanClass, String name, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, deriving its metadata from class-declared annotations.<T> void
AnnotationConfigApplicationContext.registerBean
(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) -
Uses of BeanDefinitionCustomizer in org.springframework.context.support
Modifier and TypeMethodDescriptionfinal <T> void
GenericApplicationContext.registerBean
(Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, using the given supplier for obtaining a new instance (typically declared as a lambda expression or method reference), optionally customizing its bean definition metadata (again typically declared as a lambda expression).final <T> void
GenericApplicationContext.registerBean
(Class<T> beanClass, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, optionally customizing its bean definition metadata (typically declared as a lambda expression).<T> void
GenericApplicationContext.registerBean
(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, using the given supplier for obtaining a new instance (typically declared as a lambda expression or method reference), optionally customizing its bean definition metadata (again typically declared as a lambda expression).final <T> void
GenericApplicationContext.registerBean
(String beanName, Class<T> beanClass, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, optionally customizing its bean definition metadata (typically declared as a lambda expression).