ObjectDB ObjectDB

getPersistenceManagerFactory(stream) - JDO JDOHelper's static method

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

Returns a PersistenceManagerFactory configured based on the Properties stored in the input stream at stream. This method is equivalent to invoking getPersistenceManagerFactory(InputStream,ClassLoader) with Thread.currentThread().getContextClassLoader() as the loader argument.
Parameters:
stream - the stream containing the Properties
Returns:
the PersistenceManagerFactory
Since:
JDO 2.0