Singleton Design Pattern implementation in Java

November 8, 2009 at 5:57 am Leave a comment

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
    Advertisement

    Entry filed under: Uncategorized. Tags: .

    5 Serial Blasts in Delhi : at least 20 dead

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Connecting to %s

    Trackback this post  |  Subscribe to the comments via RSS Feed


    Recent Posts

    Top Posts

    • None

    Top Clicks

    • None

    Feeds


    Follow

    Get every new post delivered to your Inbox.