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 another 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.Method parameters in org.springframework.beans.factory with type arguments of type BeanRegistry.SpecModifier and TypeMethodDescription<T> StringBeanRegistry.registerBean(Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> customizer) Register a bean from the given class, customizing it with the customizer callback.<T> voidBeanRegistry.registerBean(String name, Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> customizer) Register a bean from the given class, customizing it with the customizer callback.<T> voidBeanRegistry.registerBean(String name, ParameterizedTypeReference<T> beanType, Consumer<BeanRegistry.Spec<T>> customizer) Register a bean from the given generics-containing type, customizing it with the customizer callback.<T> StringBeanRegistry.registerBean(ParameterizedTypeReference<T> beanType, Consumer<BeanRegistry.Spec<T>> customizer) Register a bean from the given generics-containing type, 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> StringBeanRegistryAdapter.registerBean(Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> customizer) <T> voidBeanRegistryAdapter.registerBean(String name, Class<T> beanClass, Consumer<BeanRegistry.Spec<T>> customizer) <T> voidBeanRegistryAdapter.registerBean(String name, ParameterizedTypeReference<T> beanType, Consumer<BeanRegistry.Spec<T>> customizer) <T> StringBeanRegistryAdapter.registerBean(ParameterizedTypeReference<T> beanType, Consumer<BeanRegistry.Spec<T>> customizer)