registerBean
Register a bean of type T which will be instantiated using the related resolvable constructor if any.
Parameters
the bean type
the name of the bean
set whether this bean is a candidate for getting autowired into some other bean
set whether this bean allows for instantiation on a background thread
a human-readable description of this bean
set whether this bean is a fallback autowire candidate
set whether this bean has an infrastructure role, meaning it has no relevance to the end-user
set whether this bean is lazily initialized
the sort order of this bean
set whether this bean is a primary autowire candidate
set whether this bean has a prototype scope
Register a bean of type T which will be instantiated using the related resolvable constructor if any.
Return
the generated bean name
Parameters
the bean type
set whether this bean is a candidate for getting autowired into some other bean
set whether this bean allows for instantiation on a background thread
a human-readable description of this bean
set whether this bean is a fallback autowire candidate
set whether this bean has an infrastructure role, meaning it has no relevance to the end-user
set whether this bean is lazily initialized
the sort order of this bean
set whether this bean is a primary autowire candidate
set whether this bean has a prototype scope
Register a bean of type T which will be instantiated using the provided supplier.
Parameters
the bean type
the name of the bean
set whether this bean is a candidate for getting autowired into some other bean
set whether this bean allows for instantiation on a background thread
a human-readable description of this bean
set whether this bean is a fallback autowire candidate
set whether this bean has an infrastructure role, meaning it has no relevance to the end-user
set whether this bean is lazily initialized
the sort order of this bean
set whether this bean is a primary autowire candidate
set whether this bean has a prototype scope
the supplier to construct a bean instance