Injectable Singleton
From APIDesign
(Difference between revisions)
(New page: 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 ...) |
|||
Line 2: | Line 2: | ||
TBD. | TBD. | ||
+ | |||
+ | == Configure == | ||
+ | |||
+ | TBD. Drop-in your implementations to classpath. | ||
+ | |||
+ | == Testability == | ||
+ | |||
+ | TBD. Use ''MockServices'' |
Revision as of 05:01, 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 such methodology for usage of so called Injected Singletons.
TBD.
Configure
TBD. Drop-in your implementations to classpath.
Testability
TBD. Use MockServices