'. '

Injectable Singleton

From APIDesign

Revision as of 06:47, 25 January 2010 by 41.196.174.209 (Talk)
Jump to: navigation, search

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!
Personal tools
buy