org.apache.openjpa.persistence
Class PersistenceProviderImpl
java.lang.Object
   org.apache.openjpa.persistence.PersistenceProviderImpl
org.apache.openjpa.persistence.PersistenceProviderImpl
- All Implemented Interfaces: 
- PersistenceProvider
- public class PersistenceProviderImpl 
- extends Object- implements PersistenceProvider
Bootstrapping class that allows the creation of a stand-alone
 EntityManager.
- See Also:
- Persistence.createEntityManagerFactory(String,Map)
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PersistenceProviderImpl
public PersistenceProviderImpl()
createEntityManagerFactory
public OpenJPAEntityManagerFactory createEntityManagerFactory(String name,
                                                              String resource,
                                                              Map m)
- Loads the entity manager specified by name, applying
 the properties inmas overrides to the properties defined
 in the XML configuration file forname. Ifnameisnull, this method loads the XML in the resource
 identified byresource, and uses the first resource found
 when doing this lookup, regardless of the name specified in the XML
 resource or the name of the jar that the resource is contained in.
 This does no pooling of EntityManagersFactories.
 
- 
 
- 
 
createEntityManagerFactory
public OpenJPAEntityManagerFactory createEntityManagerFactory(String name,
                                                              Map m)
- 
- Specified by:
- createEntityManagerFactoryin interface- PersistenceProvider
 
- 
 
createContainerEntityManagerFactory
public OpenJPAEntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo pui,
                                                                       Map m)
- 
- Specified by:
- createContainerEntityManagerFactoryin interface- PersistenceProvider
 
- 
 
getDefaultBrokerAlias
protected String getDefaultBrokerAlias()
- 
 
- 
 
newConfigurationImpl
protected OpenJPAConfiguration newConfigurationImpl()
- 
 
- 
 
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.