What is a… pipeline?
In Needle, the instantiation pipeline is used to control how and when services are instantiated. The service models are implemented as pipelines. Just as the interceptors are for hooking into method invocations, the pipelines are for hooking into service instantiations. Every time a service is requested, it’s instantiation pipeline is executed. By choosing the appropriate kinds of pipeline elements, all of the available service models can be implemented (prototype, prototype_deferred, singleton, singleton_deferred, etc.).