log().t("Initialize Persistence");
try {
String clazz = conf.getExtracted("class",DefaultPersistence.class.getCanonicalName());
if (clazz != null) {
MPersistenceManager obj = (MPersistenceManager)getActivator().createObject(clazz);
obj.init(conf);
if (persistence != null) persistence.close();
persistence = obj;
}
} catch (Throwable t) {
log().w(t);