Unfortunately, these approaches do not address multithreading or serialization issues.
See 'Effective Java' by Joshua Bloch, or http://www.javaworld.com/javaworld/javaqa/2002-04/01-qa-0412-doublelock.html. cc [EMAIL PROTECTED] wrote: > Hi here is a cool link on singletons > > http://members.tripod.com/rwald/java/articles/Singleton_in_Java.html > > it's a very interesting approach to singletons. The article proposes 2 approaches >that I have never seen anywhere else. I have yet to try it out but it sure seems cool. > > Florian Hehlen > > >-----Original Message----- > >From: Paul Ruane [mailto:[EMAIL PROTECTED]] > >Sent: Thursday, September 05, 2002 6:26 PM > >To: [EMAIL PROTECTED] > >Subject: Re: [Eap-features] request for a singleton feature > > > > > > > >Though it depends on your stance on morality ;) > > > > > > > > > > > > > > "Michael Kirby" > > > > > > <[EMAIL PROTECTED]> To: > > [EMAIL PROTECTED] > > > > Sent by: cc: > > > > > > [EMAIL PROTECTED] > >Subject: Re: [Eap-features] request for a singleton feature > > > > tbrains.com > > > > > > > > > > > > > > > > > > 05/09/2002 17:16 > > > > > > Please respond to > > > > > > eap-features > > > > > > > > > > > > > > > > > > > > > > > > > >Singleton's are evil. Which is of course why we use them everywhere. > > > >Mike > > > > > >On 30 Aug 2016 at 27:03, FRANK wrote: > > > >> It would be nice if a 'singleton' feature could be added. > >> > >> Idea would create automaticly the getInstance() method, the private > >> static accessor... > >> > >> what about that ? (I guess some discution could be what should be the > >> default implementation of the getInstance, what type of sync...) > >> > >> Nicolas FRANK > >> > >> -->> FREE Perl CGI scripts add WEB ACCESS to your > >> -->> POP E-Mail accounts! Download today!! http://www.adjeweb.com > >> > >> _______________________________________________ > >> Eap-features mailing list > >> [EMAIL PROTECTED] > >> http://lists.jetbrains.com/mailman/listinfo/eap-features > >> > > > >--- > >[EMAIL PROTECTED] > >To obtain my PGP public key, mail "SEND PUB KEY" in the > >subject to "[EMAIL PROTECTED]" > > > >_______________________________________________ > >Eap-features mailing list > >[EMAIL PROTECTED] > >http://lists.jetbrains.com/mailman/listinfo/eap-features > > > > > > > > > > > >-- > > > >This e-mail may contain confidential and/or privileged > >information. If you are not the intended recipient (or have > >received this e-mail in error) please notify the sender > >immediately and destroy this e-mail. Any unauthorized copying, > >disclosure or distribution of the material in this e-mail is > >strictly forbidden. > > > > > >_______________________________________________ > >Eap-features mailing list > >[EMAIL PROTECTED] > >http://lists.jetbrains.com/mailman/listinfo/eap-features > > > > Visit our website at http://www.ubswarburg.com > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee you > should not disseminate, distribute or copy this e-mail. Please > notify the sender immediately by e-mail if you have received this > e-mail by mistake and delete this e-mail from your system. > > E-mail transmission cannot be guaranteed to be secure or error-free > as information could be intercepted, corrupted, lost, destroyed, > arrive late or incomplete, or contain viruses. The sender therefore > does not accept liability for any errors or omissions in the contents > of this message which arise as a result of e-mail transmission. If > verification is required please request a hard-copy version. This > message is provided for informational purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments. _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
