dcl = new DynamicClassLoader(sessionLoader);
properties.put(PersistenceUnitProperties.CLASSLOADER, dcl);
if (initializationProperties != null) {
properties.putAll(initializationProperties);
}
factory.refreshMetadata(properties);
}
if (factory != null) {
persistenceContext = bootstrapPersistenceContext(persistenceUnitName, factory, defaultURI, version, true);
Set<PersistenceContext> persistenceContextSet = getDynamicPersistenceContextSet(persistenceUnitName);