Package | Description |
---|---|
javax.jdo |
This package contains the JDO specification interfaces and classes.
|
Modifier and Type | Method and Description |
---|---|
PersistenceManagerFactory |
PersistenceManager.getPersistenceManagerFactory()
This method returns the
PersistenceManagerFactory used to
create this PersistenceManager . |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory()
Get the anonymous
PersistenceManagerFactory configured via
the standard configuration file resource "META-INF/jdoconfig.xml", using
the current thread's context class loader
to locate the configuration file resource(s). |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(ClassLoader pmfClassLoader)
Get the anonymous
PersistenceManagerFactory configured via
the standard configuration file resource "META-INF/jdoconfig.xml", using
the given class loader. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(File propsFile)
Returns a
PersistenceManagerFactory configured based
on the properties stored in the file at
propsFile . |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(File propsFile,
ClassLoader loader)
Returns a
PersistenceManagerFactory configured based
on the properties stored in the file at
propsFile . |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(InputStream stream)
Returns a
PersistenceManagerFactory configured based
on the Properties stored in the input stream at
stream . |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(InputStream stream,
ClassLoader loader)
Returns a
PersistenceManagerFactory configured based
on the Properties stored in the input stream at
stream . |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(Map<?,?> props)
Get a
PersistenceManagerFactory based on a Properties
instance, using the current thread's context class loader to locate the
PersistenceManagerFactory class. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(Map<?,?> props,
ClassLoader pmfClassLoader)
Get a
PersistenceManagerFactory based on a
Map and a class loader. |
protected static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(Map<?,?> overrides,
Map<?,?> props,
ClassLoader pmfClassLoader)
Get a
PersistenceManagerFactory based on a
Map of overrides, a Map of
properties, and a class loader. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(Map<?,?> overrides,
String name)
Returns a named
PersistenceManagerFactory or persistence
unit. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(Map<?,?> overrides,
String name,
ClassLoader resourceLoader)
Returns a named
PersistenceManagerFactory or persistence
unit. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(Map<?,?> overrides,
String name,
ClassLoader resourceLoader,
ClassLoader pmfLoader)
Returns a
PersistenceManagerFactory configured based
on the properties stored in the resource at
name , or, if not found, returns a
PersistenceManagerFactory with the given
name or, if not found, returns a
javax.persistence.EntityManagerFactory cast to a
PersistenceManagerFactory . |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(String name)
Returns a named
PersistenceManagerFactory or persistence
unit. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(String name,
ClassLoader loader)
Returns a named
PersistenceManagerFactory or persistence
unit. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(String name,
ClassLoader resourceLoader,
ClassLoader pmfLoader)
Returns a named
PersistenceManagerFactory or persistence
unit. |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(String jndiLocation,
Context context)
Returns a
PersistenceManagerFactory at the JNDI
location specified by jndiLocation in the context
context . |
static PersistenceManagerFactory |
JDOHelper.getPersistenceManagerFactory(String jndiLocation,
Context context,
ClassLoader loader)
Returns a
PersistenceManagerFactory at the JNDI
location specified by jndiLocation in the context
context . |
protected static PersistenceManagerFactory |
JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(String pmfClassName,
Map<?,?> overrides,
Map<?,?> properties,
ClassLoader cl)
Invoke the getPersistenceManagerFactory method on the implementation.
|
Copyright © 2005–2020 Apache Software Foundation. All rights reserved.