| }
@Override
public IConfig getPersistence(String name) {
synchronized (this) {
XmlConfigFile config = cache.get(name);
if (config == null) {
try {
config = new XmlConfigFile(new File(dir,"config_" + MFile.normalize(name) + ".xml"));
cache.put(name,config);
} catch (Throwable t) {
log().w(dir,name,t);
}
}
|