synchronizer = new FrameworkSynchronizer();
lifecycleListener = new IsisLifecycleListener(synchronizer);
}
private void createSchema(final Map<String, String> props, final Set<String> classesToBePersisted) {
final JDOPersistenceManagerFactory jdopmf = (JDOPersistenceManagerFactory)persistenceManagerFactory;
final NucleusContext nucleusContext = jdopmf.getNucleusContext();
final SchemaAwareStoreManager storeManager = (SchemaAwareStoreManager) nucleusContext.getStoreManager();
storeManager.createSchema(classesToBePersisted, asProperties(props));
}