Singleton Design Pattern implementation in Java

November 8, 2009

clipped from cstechie.com

Singleton Design Pattern implementation in Java

  • Ensure a class has only one instance and provides a global point of access to it
  • Useful when exactly one instance of a class is needed to coordinate actions
  • Abstract Factory,Prototype and Builder can use Singleton in their implementation
  • Often preffered as global variables -Provides OO Design scope,Allows lazy initialization or dynamic change in behaviour
  • Facade objects and State objects are often SIngletons
  •   blog it

    Entry Filed under: Uncategorized. .

    Leave a Comment

    Required

    Required, hidden

    Some HTML allowed:
    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Trackback this post  |  Subscribe to the comments via RSS Feed


    Blogroll

    Recent Posts

    Top Posts

    Top Clicks

    Feeds

    Archives