Registers the binding with a singleton lifetime.
Meaning the same instance will be returned every time it is resolved from this container.
If this is bound as a bindOnce, it will be the same instance potentially across multiple containers.
Registers the binding with a transient lifetime.
Meaning a new instance will be returned every time it is resolved from this container.
Fluent API class for configuring the lifetime behavior of a binding. Provides methods to set singleton or transient lifetime management.