What is a bean?

A bean is a named instance of the class which has parameterless constructor and which is registered in the kernel.

Warning

Parameterless constructor is a required as it will be used by kernel to create an instance of the bean, see bean lifecycle.