Hi to everyone! In my project, I have a XML with some config data, like username, password (all connections made from my system to a target systenm must use this same info).
I'm a little lost about the best way of implementing this. I thought about doing: a "Config" Factory, that should keep a singleton Config object (that should be populated with data from the XML). But I would need a way for calling some initialization action for this Factory (like creating the Hashtables and so on). How could I do that in a smart way so I don't have to check at every call if the Factory has already been initialized? Sorry if this is a stupid question, but I am far from being a master =) TIA! =================================== Augusto Cesar Guagliano [EMAIL PROTECTED] Project Manager +55 19 9106.9024 Infosoftware Consulting http://www.infosoftware.com.br =================================== Esta mensagem pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.