// Use JDOClassLoaderResolver here since we need the plugin mechanism before being able to create our specified CLR
ClassLoaderResolver clr = new JDOClassLoaderResolver(this.getClass().getClassLoader());
clr.registerUserClassLoader((ClassLoader)persistenceConfig.getProperty("org.jpox.primaryClassLoader"));
// Instantiate manager for the plugins
this.pluginManager = new PluginManager(this.persistenceConfig, clr);
this.pluginManager.registerExtensionPoints();
this.pluginManager.registerExtensions();
this.pluginManager.resolveConstraints();
// Load up any default properties from the plugins