Uses of Interface
org.springframework.beans.factory.BeanRegistry.Spec
Packages that use BeanRegistry.Spec
Package
Description
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Classes supporting the
org.springframework.beans.factory
package.-
Uses of BeanRegistry.Spec in org.springframework.beans.factory
Methods in org.springframework.beans.factory that return BeanRegistry.SpecModifier and TypeMethodDescriptionBeanRegistry.Spec.backgroundInit()
Allow for instantiating this bean on a background thread.BeanRegistry.Spec.description
(String description) Set a human-readable description of this bean.BeanRegistry.Spec.fallback()
Configure this bean as a fallback autowire candidate.BeanRegistry.Spec.infrastructure()
Hint that this bean has an infrastructure role, meaning it has no relevance to the end-user.BeanRegistry.Spec.lazyInit()
Configure this bean as lazily initialized.BeanRegistry.Spec.notAutowirable()
Configure this bean as not a candidate for getting autowired into some other bean.BeanRegistry.Spec.order
(int order) The sort order of this bean.BeanRegistry.Spec.primary()
Configure this bean as a primary autowire candidate.BeanRegistry.Spec.prototype()
Configure this bean with a prototype scope.BeanRegistry.Spec.supplier
(Function<BeanRegistry.SupplierContext, T> supplier) Set the supplier to construct a bean instance.BeanRegistry.Spec.targetType
(ParameterizedTypeReference<? extends T> type) Set a generics-containing target type of this bean.BeanRegistry.Spec.targetType
(ResolvableType type) Set a generics-containing target type of this bean.Method parameters in org.springframework.beans.factory with type arguments of type BeanRegistry.SpecModifier and TypeMethodDescription<T> String
BeanRegistry.registerBean
(Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> customizer) Register a bean from the given bean class, customizing it with the customizer callback.<T> void
BeanRegistry.registerBean
(String name, Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> customizer) Register a bean from the given bean class, customizing it with the customizer callback. -
Uses of BeanRegistry.Spec in org.springframework.beans.factory.support
Method parameters in org.springframework.beans.factory.support with type arguments of type BeanRegistry.SpecModifier and TypeMethodDescription<T> String
BeanRegistryAdapter.registerBean
(Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> customizer) <T> void
BeanRegistryAdapter.registerBean
(String name, Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> spec)