Injectable Singleton
From APIDesign
(Difference between revisions)
m (Injected Singleton moved to Injectable Singleton: Injectable is better word in this context, I think.) |
|||
Line 12: | Line 12: | ||
* mention testing limitations due to levels of [Co-existence]] and solutions | * mention testing limitations due to levels of [Co-existence]] and solutions | ||
+ | |||
+ | == Injectable Meta-Singleton == | ||
+ | |||
+ | * Lookup is meta! |
Revision as of 05:51, 25 January 2010
Singletons are sometimes dishonest as a design anti-pattern. Right, one may use them improperly, but with guidance of proper methodology there is nothing wrong on singletons. This page describes methodology for usage of so called Injected Singletons.
TBD.
Configure
TBD. Drop-in your implementations to classpath.
Testability
TBD. Use MockServices
- mention testing limitations due to levels of [Co-existence]] and solutions
Injectable Meta-Singleton
- Lookup is meta!