bean
Declare a bean definition from the given bean class which can be inferred when possible.
The preferred constructor (Kotlin primary constructor and standard public constructors) are evaluated for autowiring before falling back to default instantiation.
Parameters
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given supplier for obtaining a new instance.
Parameters
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
the bean supplier function
See also
Declare a bean definition using the given callable reference with no parameter for obtaining a new instance.
Since
5.2.3
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 1 parameter autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 2 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 3 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 4 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 5 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 6 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 7 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 8 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 9 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 10 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 11 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 12 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 13 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 14 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 15 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 16 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 17 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 18 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 19 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 20 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 21 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition
See also
Declare a bean definition using the given callable reference with 22 parameters autowired by type for obtaining a new instance.
Since
5.2
Parameters
the callable reference
the name of the bean
Override the target scope of this bean, specifying a new scope name.
Set whether this bean should be lazily initialized.
Set whether this bean is a primary autowire candidate.
Set whether this bean is a candidate for getting autowired into some other bean.
Set the name of the initializer method
Set the name of the destroy method
Set a human-readable description of this bean definition
Set the role hint for this bean definition