grouplens / grapht

Grapht dependency injector.
Other
25 stars 9 forks source link

Make lifecycle management optional #121

Open mdekstrand opened 9 years ago

mdekstrand commented 9 years ago

With #120, we will gain lifecycle management. However, we may wish to make this optional, so that applications with no need for lifecycle management can turn it off and avoid tracking components.

This should be done by separating the lifecycle manager from the injection container, and making the default injector setup have a configuration flag as to whether lifecycle management is enabled.