- 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
-
backgroundInit
Allow for instantiating this bean on a background thread.
- See Also:
-
-
description
Set a human-readable description of this bean.
- See Also:
-
-
fallback
Configure this bean as a fallback autowire candidate.
- See Also:
-
-
infrastructure
Hint that this bean has an infrastructure role, meaning it has no
relevance to the end-user.
- See Also:
-
-
lazyInit
Configure this bean as lazily initialized.
- See Also:
-
-
notAutowirable
Configure this bean as not a candidate for getting autowired into some
other bean.
- See Also:
-
-
order
The sort order of this bean. This is analogous to the
@Order
annotation.
- See Also:
-
-
primary
Configure this bean as a primary autowire candidate.
- See Also:
-
-
prototype
Configure this bean with a prototype scope.
- See Also:
-
-
supplier
Set the supplier to construct a bean instance.
- See Also:
-
-
targetType
Set a generics-containing target type of this bean.
- See Also:
-
-
targetType
Set a generics-containing target type of this bean.
- See Also:
-