From: Oliver H. <oli...@th...> - 2002-08-13 08:04:20
|
Hi all Would it be possible to make the Isotope and Element factory singleton classes? I.e. make a private constructor and add the method public static XXXFactory getInstance() to get the singleton instance of the factory. The advantage of this method is that if the factory is used in more than one class in an application the corresponding xml file is only read once which greatly improves the performance. Olli |