Started Turbine Services Services are singletons within the Turbine Framework which have pluggable implementation, and are capable of participating in the Turbine startup and shutdown. As Services are Singletons, there is only one instance of each service in the system. Memory or connections are allocated once only and the internal state is common to all requesting clients. Turbine is operating under and with.
Services can also initialize themselves before they are requested by the client for the first time.
A Service that is never used will not allocate resources to itself. A Service can also execute actions upon the system being shutdown, such as closing open connections. The Singleton pattern also allows for the Services to be accessed from anywhere within your code. The Life Cycle of a Service begins with the Services constructor. A Service does not do much in it's contructor.