Re: THE SINGLETON PATTERN ?

From: Andrey Dobrov (adob_at_isd.dp.ua)
Date: 10/07/04

  • Next message: Edwin Martin: "Re: parse mime"
    Date: Thu, 7 Oct 2004 10:15:19 +0300
    
    

    Hi Alicia
    1) I uses protected constructor when I use singleton pattern

    2) You can read more about singleton here
    http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double_p.html,

    -- 
    With best reguards,
    Andrey Dobrov
    ext 1111
    "Alicia Roberts" <alic2301@hotmail.com> wrote in message 
    news:Xns957AF128F478Falic2301hotmailcom@216.77.188.18...
    > Hello everyone, I have been researching the Singleton Pattern.  Since the
    > singleton pattern uses a private constructor which in turn reduces
    > extendability, if you make the Singleton Polymorphic what sort of
    > problems/issues should be considered?
    >
    > Also, I see that a singleton needs to be set up with certain data such as
    > file name, database URL etc.  What issues are involved in this, and how
    > would you do this?
    >
    > If someone knows about the Singleton pattern please reply.  Thanks
    >
    > Alicia 
    

  • Next message: Edwin Martin: "Re: parse mime"