Link Details

Link 107502 thumbnail
User 185351 avatar

By jsugrue
via java.dzone.com
Published: Aug 27 2008 / 10:45

In Singletons are Pathological Liars we discussed the problems of having singletons in your code. Let’s build on that and answer the question “If I don’t have singletons how do I ensure there is only one instance of X and how do I get X to all of the places it is needed?”
  • 19
  • 0
  • 973
  • 384

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.