/** * Parses the PersistenceManager config. * * @param parent parent of the <code>PersistenceManager</code> element * @return persistence manager configuration * @throws ConfigurationException if the configuration is broken */ protected PersistenceManagerConfig parsePersistenceManagerConfig( Element parent) throws ConfigurationException { return new PersistenceManagerConfig( parseBeanConfig(parent, PERSISTENCE_MANAGER_ELEMENT)); }
/** * Parses the PersistenceManager config. * * @param parent parent of the <code>PersistenceManager</code> element * @return persistence manager configuration * @throws ConfigurationException if the configuration is broken */ protected PersistenceManagerConfig parsePersistenceManagerConfig( Element parent) throws ConfigurationException { return new PersistenceManagerConfig( parseBeanConfig(parent, PERSISTENCE_MANAGER_ELEMENT)); }
private PersistenceManagerConfig buildPersistenceManagerConfig(){ Properties prop=new Properties(); BeanConfig beanConfig=new BeanConfig("org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager",prop); PersistenceManagerConfig persistenceManagerConfig=new PersistenceManagerConfig(beanConfig); return persistenceManagerConfig; }