Top Description Constructors Methods
org.hibernate.jpa.boot.spi

public final Class Bootstrap

extends Object
Class Inheritance
Imports
java.net.URL, java.util.Map, javax.persistence.spi.PersistenceUnitInfo, .PersistenceUnitTransactionType, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl, .PersistenceUnitInfoDescriptor, .PersistenceXmlParser

Entry into the bootstrap process.
Authors
Steve Ebersole, Brett Meyer

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<K, V> integration)

public static EntityManagerFactoryBuilder

Returns:

The EMFB
getEntityManagerFactoryBuilder
(URL
The URL to a persistence.xml
persistenceXmlUrl
,
String
The name of the persistence-unit to parse
persistenceUnitName
,
Map<K, V>
setting overrides
integration
)

Intended for use in Hibernate tests

public static EntityManagerFactoryBuilder

Returns:

The EMFB
getEntityManagerFactoryBuilder
(URL
The URL to a persistence.xml
persistenceXmlUrl
,
String
The name of the persistence-unit to parse
persistenceUnitName
,
PersistenceUnitTransactionType transactionType, Map<K, V>
setting overrides
integration
)

Intended for use in Hibernate tests

public static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<K, V> integration, ClassLoader providedClassLoader)

public static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<K, V> integration, ClassLoaderService providedClassLoaderService)

public static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map<K, V> integration)

public static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map<K, V> integration, ClassLoader providedClassLoader)

public static EntityManagerFactoryBuilder
getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map<K, V> integration, ClassLoaderService providedClassLoaderService)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Bootstrapback to summary
private Bootstrap()

Method Detail

getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<K, V> integration)
getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(URL persistenceXmlUrl, String persistenceUnitName, Map<K, V> integration)

Intended for use in Hibernate tests

Parameters
persistenceXmlUrl:URL

The URL to a persistence.xml

persistenceUnitName:String

The name of the persistence-unit to parse

integration:Map<K, V>

setting overrides

Returns:EntityManagerFactoryBuilder

The EMFB

getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(URL persistenceXmlUrl, String persistenceUnitName, PersistenceUnitTransactionType transactionType, Map<K, V> integration)

Intended for use in Hibernate tests

Parameters
persistenceXmlUrl:URL

The URL to a persistence.xml

persistenceUnitName:String

The name of the persistence-unit to parse

integration:Map<K, V>

setting overrides

Returns:EntityManagerFactoryBuilder

The EMFB

getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<K, V> integration, ClassLoader providedClassLoader)
getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<K, V> integration, ClassLoaderService providedClassLoaderService)
getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map<K, V> integration)
getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map<K, V> integration, ClassLoader providedClassLoader)
getEntityManagerFactoryBuilderback to summary
public static EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitInfo persistenceUnitInfo, Map<K, V> integration, ClassLoaderService providedClassLoaderService)