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 IOException
s thrown during resource loading will be wrapped in a JDOFatalUserException. - Parameters:
stream
- the stream containing the Propertiesloader
- the class loader to use to load thePersistenceManagerFactory
class
- Return:
- the PersistenceManagerFactory
- Since:
- JDO 2.0