- Type Parameters:
- T- the bean type
- Enclosing interface:
- BeanRegistry
public static interface BeanRegistry.Spec<T>
Specification for customizing a bean.
- 
Method Summary
Allow for instantiating this bean on a background thread. 
 
Set a human-readable description of this bean. 
 
Configure this bean as a fallback autowire candidate. 
 
Hint that this bean has an infrastructure role, meaning it has no
 relevance to the end-user. 
 
Configure this bean as lazily initialized. 
 
Configure this bean as not a candidate for getting autowired into some
 other bean. 
 
The sort order of this bean. 
 
Configure this bean as a primary autowire candidate. 
 
Configure this bean with a prototype scope. 
 
Set the supplier to construct a bean instance. 
 
Set a generics-containing target type of this bean. 
 
Set a generics-containing target type of this bean. 
 
 
 
 
- 
Method Details
- 
backgroundInitAllow for instantiating this bean on a background thread. 
- See Also:
- 
 
- 
descriptionSet a human-readable description of this bean. 
- See Also:
- 
 
- 
fallbackConfigure this bean as a fallback autowire candidate. 
- See Also:
- 
 
- 
infrastructureHint that this bean has an infrastructure role, meaning it has no
 relevance to the end-user. 
- See Also:
- 
 
- 
lazyInitConfigure this bean as lazily initialized. 
- See Also:
- 
 
- 
notAutowirableConfigure this bean as not a candidate for getting autowired into some
 other bean. 
- See Also:
- 
 
- 
orderThe sort order of this bean. This is analogous to the
 @Orderannotation.
 
- See Also:
- 
 
- 
primaryConfigure this bean as a primary autowire candidate. 
- See Also:
- 
 
- 
prototypeConfigure this bean with a prototype scope. 
- See Also:
- 
 
- 
supplierSet the supplier to construct a bean instance. 
- See Also:
- 
 
- 
targetTypeSet a generics-containing target type of this bean. 
- See Also:
- 
 
- 
targetTypeSet a generics-containing target type of this bean. 
- See Also:
-