PMContext
PersistenceManager
11541155115611571158115911601161116211631164
NodeTypeRegistry ntReg, DataStore dataStore) throws RepositoryException { try { PersistenceManager pm = (PersistenceManager) pmConfig.newInstance(); pm.init(new PMContext(homeDir, fs, rootNodeId, nsReg, ntReg, dataStore)); return pm; } catch (Exception e) { String msg = "Cannot instantiate persistence manager " + pmConfig.getClassName(); throw new RepositoryException(msg, e); }
11301131113211331134113511361137113811391140
NamespaceRegistry nsReg, NodeTypeRegistry ntReg) throws RepositoryException { try { PersistenceManager pm = (PersistenceManager) pmConfig.newInstance(); pm.init(new PMContext(homeDir, fs, rootNodeId, nsReg, ntReg)); return pm; } catch (Exception e) { String msg = "Cannot instantiate persistence manager " + pmConfig.getClassName(); throw new RepositoryException(msg, e); }
13931394139513961397139813991400140114021403
13371338133913401341134213431344134513461347
File homeDir, FileSystem fs, PersistenceManagerConfig pmConfig) throws RepositoryException { try { PersistenceManager pm = pmConfig .newInstance(PersistenceManager.class); PMContext pmContext = new PMContext( homeDir, fs, context.getRootNodeId(), context.getNamespaceRegistry(), context.getNodeTypeRegistry(), context.getDataStore(),
11121113111411151116111711181119112011211122
13461347134813491350135113521353135413551356
private PersistenceManager createPersistenceManager( File homeDir, FileSystem fs, PersistenceManagerConfig pmConfig) throws RepositoryException { try { PersistenceManager pm = pmConfig.newInstance(PersistenceManager.class); pm.init(new PMContext( homeDir, fs, context.getRootNodeId(), context.getNamespaceRegistry(), context.getNodeTypeRegistry(), context.getDataStore()));
13341335133613371338133913401341134213431344
13621363136413651366136713681369137013711372
13211322132313241325132613271328132913301331