getPersistenceManagerFactory(propsFile, loader) - JDO JDOHelper's static method

Static Method
PersistenceManagerFactory getPersistenceManagerFactory(
  File propsFile,
  ClassLoader loader

Returns a PersistenceManagerFactory configured based on the properties stored in the file at propsFile. Creates a PersistenceManagerFactory with loader. Any IOExceptions or FileNotFoundExceptions thrown during resource loading will be wrapped in a JDOFatalUserException.
propsFile - the file containing the Properties
loader - the class loader to use to load the PersistenceManagerFactory class
the PersistenceManagerFactory
JDO 2.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.