[Core] Config file base service locator class
Review Request #101 — Created June 9, 2013 and submitted — Latest diff uploaded
Information | |
---|---|
pprkut | |
Lunr | |
pprkut:mysql_fix | |
123, 118 | |
Reviewers | |
lunr | |
This is another service locator implementation, using config files (instead of lambdas in the other one) for object recipes. Config files are small, can be loaded on demand and are cached, which are the main benefits over the rather cumbersome to setup lambda configuration. Another benefit over the lambda configuration is way easier recursive instantiation and singleton handling.
Unit tests, prototype implementation for another project