getPersistenceManagerFactory(jndiLocation, context, loader) - JDO JDOHelper's static method
Static Method javax.jdo.JDOHelper
PersistenceManagerFactory getPersistenceManagerFactory(
String jndiLocation,
Context context,
ClassLoader loader
)
PersistenceManagerFactory
at the JNDI location specified by jndiLocation
in the context context
. If context
is null
, new InitialContext()
will be used. Creates a PersistenceManagerFactory
with loader
. Any NamingException
s thrown will be wrapped in a JDOFatalUserException
. - Parameters:
-
jndiLocation
- the JNDI location containing the PersistenceManagerFactory -
context
- the context in which to find the named PersistenceManagerFactory -
loader
- the class loader to use to load thePersistenceManagerFactory
class
- Returns:
- the PersistenceManagerFactory
- Since:
- JDO 2.0