-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 temp temp,
First, please set your real name in your email client. It's just rude to have a name like "temp temp". (Apologies if your name is actually "Temp Temp". :) temp temp wrote: [snip] > private static ResourceManagerFactory fResourceManagerFactory > = new ResourceManagerFactory(); [snip] > I create instance of this class with the first line. Suppose a > thread entered the constructor and its in line 3 at this time can > other thread access this constructor and starts the first line ? Since your constructor is private, and you only call this constructor once in the class initializer, when would threading be a problem? The JVM is supposed to fully load and initialize your class (atomically) before any external code gets its hands on it. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGC+h59CaO5/Lv0PARAnImAKDCLsCvE98qo2yOF68al7d1hfO5dwCgwUfg iGvVRlswoOyw2ufRVTBff28= =6d7+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]