Adds object instance to the container as singleton bean.
Returns Petite bean instance named as one of the provided names.
Creates and wires a bean within the container and optionally invokes init
methods. However, bean isn
Wires provided bean with the container and optionally invokes init methods. Bean
is not registered.
Creates new Petite container using PetiteContainer.
Adds self instance to the container so internal beans may fetch container for
further usage. No wiri
Shutdowns container. After container is down, it can't be used anymore.