concept Singleton Lifestyle in category dependency injection

appears as: Singleton Lifestyle, The Singleton Lifestyle
Dependency Injection

This is an excerpt from Manning's book Dependency Injection.

The Singleton Lifestyle is one of the easiest Lifestyles to implement. All it requires is that you keep a reference to the object and serve the same object every time it’s requested. The instance doesn’t go out of scope until the Composer goes out of scope. When that happens, the Composer should dispose of the object if it’s a disposable type.