55 words

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

Static Method
javax.jdo.JDOHelper
PersistenceManagerFactory getPersistenceManagerFactory(
  InputStream stream,
  ClassLoader loader
)

Returns a PersistenceManagerFactory configured based on the Properties stored in the input stream at stream. Creates a PersistenceManagerFactory with loader. Any IOExceptions thrown during resource loading will be wrapped in a JDOFatalUserException.
Parameters:
stream - the stream containing the Properties
loader - the class loader to use to load the PersistenceManagerFactory class
Returns:
the PersistenceManagerFactory
Since:
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.