| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private final Map | |
| private DataSource | |
| public static final String | |
| private static final String | |
| public static final String | JANDEX_INDEX
Names a Jandex |
| private static final EntityManagerMessageLogger | |
| private final ManagedResources | |
| private MetadataImplementor | |
| public static final String | |
| private final MetadataBuilderImplementor | |
| private final PersistenceUnitDescriptor | |
| private final StandardServiceRegistry | |
| public static final String | |
| public static final String | |
| private Object |
| Access | Constructor and Description |
|---|---|
| public | EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings)
|
| public | EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings, ClassLoader providedClassLoader)
|
| public | EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings, ClassLoaderService providedClassLoaderService)
|
| private | EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings, ClassLoader providedClassLoader, ClassLoaderService providedClassLoaderService)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | applyDataSource(Object dataSourceRef, Boolean useJtaDataSource, HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
|
| private void | |
| private void | applyJdbcSettings(Object url, String driver, HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
|
| private List | |
| private void | |
| private void | applyMetamodelBuilderSettings(EntityManagerFactoryBuilderImpl.
|
| private void | applyUserAndPass(Object effectiveUser, Object effectivePass, EntityManagerFactoryBuilderImpl.
|
| public EntityManagerFactory | build()
Implements org. EntityManagerFactory instance
|
| private BootstrapServiceRegistry | Returns: The built BootstrapServiceRegistryAny integration settings passed by the EE container or SE application integrationSettings, ClassLoader providedClassLoader, ClassLoaderService providedClassLoaderService)Builds the |
| public void | cancel()
Implements org. |
| private void | |
| private void | cleanUpConfigKeys(HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
|
| private void | |
| private void | |
| private <T> T | |
| public void | generateSchema()
Implements org. |
| public Map | |
| protected EnhancementContext | Returns: An enhancement context for classes managed by this EMTo enable dirty tracking feature dirtyTrackingEnabled, final boolean To enable lazy initialization feature lazyInitializationEnabled, final boolean To enable association management feature associationManagementEnabled)Builds the context to be used in runtime bytecode enhancement |
| private String | |
| public MetadataImplementor | |
| protected StandardServiceRegistry | |
| protected StandardServiceRegistryBuilder | |
| private <T> T | |
| private EntityManagerFactoryBuilderImpl. | mergeSettings(PersistenceUnitDescriptor persistenceUnit, Map<?, ?> integrationSettings, StandardServiceRegistryBuilder ssrBuilder)
|
| protected MetadataImplementor | |
| private void | normalizeConnectionAccessUserAndPass(HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
Because a DataSource can be secured (requiring Hibernate to pass the USER/PASSWORD when accessing the DataSource) we apply precedence to the USER and PASS separately |
| private void | normalizeDataAccess(HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
|
| private void | normalizeSettings(PersistenceUnitDescriptor persistenceUnit, Map<?, ?> integrationSettings, EntityManagerFactoryBuilderImpl.
Handles normalizing the settings coming from multiple sources, applying proper precedences |
| private void | normalizeTransactionCoordinator(PersistenceUnitDescriptor persistenceUnit, HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
|
| private CacheRegionDefinition | parseCacheRegionDefinitionEntry(String role, String value, CacheRegionDefinition.
|
| private GrantedPermission | parseJaccConfigEntry(String keyString, String valueString)
Deprecated
as a consequence of
GrantedPermission being deprecated.
|
| private PersistenceException | |
| protected PersistenceException | |
| protected void | |
| private void | processHibernateConfigXmlResources(StandardServiceRegistryBuilder ssrBuilder, EntityManagerFactoryBuilderImpl.
|
| private boolean | |
| public EntityManagerFactoryBuilder | withDataSource(DataSource
The DataSource to use dataSource)Implements org. |
| public EntityManagerFactoryBuilder | withValidatorFactory(Object
The ValidatorFactory validatorFactory)Implements org. |
| cdiBeanManager | back to summary |
|---|---|
| private Object cdiBeanManager | |
| configurationValues | back to summary |
|---|---|
| private final Map<K, V> configurationValues | |
| dataSource | back to summary |
|---|---|
| private DataSource dataSource | |
| INTEGRATOR_PROVIDER | back to summary |
|---|---|
| public static final String INTEGRATOR_PROVIDER Names a | |
| IS_JTA_TXN_COORD | back to summary |
|---|---|
| private static final String IS_JTA_TXN_COORD | |
| JANDEX_INDEX | back to summary |
|---|---|
| public static final String JANDEX_INDEX Names a Jandex | |
| LOG | back to summary |
|---|---|
| private static final EntityManagerMessageLogger LOG | |
| managedResources | back to summary |
|---|---|
| private final ManagedResources managedResources | |
| metadata | back to summary |
|---|---|
| private MetadataImplementor metadata | |
| METADATA_BUILDER_CONTRIBUTOR | back to summary |
|---|---|
| public static final String METADATA_BUILDER_CONTRIBUTOR Names a | |
| metamodelBuilder | back to summary |
|---|---|
| private final MetadataBuilderImplementor metamodelBuilder | |
| persistenceUnit | back to summary |
|---|---|
| private final PersistenceUnitDescriptor persistenceUnit | |
| standardServiceRegistry | back to summary |
|---|---|
| private final StandardServiceRegistry standardServiceRegistry | |
| STRATEGY_REGISTRATION_PROVIDERS | back to summary |
|---|---|
| public static final String STRATEGY_REGISTRATION_PROVIDERS Names a | |
| TYPE_CONTRIBUTORS | back to summary |
|---|---|
| public static final String TYPE_CONTRIBUTORS Names a | |
| validatorFactory | back to summary |
|---|---|
| private Object validatorFactory | |
| EntityManagerFactoryBuilderImpl | back to summary |
|---|---|
| public EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings) | |
| EntityManagerFactoryBuilderImpl | back to summary |
|---|---|
| public EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings, ClassLoader providedClassLoader) | |
| EntityManagerFactoryBuilderImpl | back to summary |
|---|---|
| public EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings, ClassLoaderService providedClassLoaderService) | |
| EntityManagerFactoryBuilderImpl | back to summary |
|---|---|
| private EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integrationSettings, ClassLoader providedClassLoader, ClassLoaderService providedClassLoaderService) | |
| applyDataSource | back to summary |
|---|---|
private void applyDataSource(Object dataSourceRef, Boolean useJtaDataSource, HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
| |
| applyIntegrationProvider | back to summary |
|---|---|
| private void applyIntegrationProvider(Map<K, V> integrationSettings, BootstrapServiceRegistryBuilder bsrBuilder) | |
| applyJdbcSettings | back to summary |
|---|---|
private void applyJdbcSettings(Object url, String driver, HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
| |
| applyMappingResources | back to summary |
|---|---|
private List
| |
| applyMetadataBuilderContributor | back to summary |
|---|---|
| private void applyMetadataBuilderContributor() | |
| applyMetamodelBuilderSettings | back to summary |
|---|---|
| private void applyMetamodelBuilderSettings(EntityManagerFactoryBuilderImpl. | |
| applyUserAndPass | back to summary |
|---|---|
private void applyUserAndPass(Object effectiveUser, Object effectivePass, EntityManagerFactoryBuilderImpl.
| |
| build | back to summary |
|---|---|
| public EntityManagerFactory build() Implements org. Doc from org. Build
| |
| buildBootstrapServiceRegistry | back to summary |
|---|---|
| private BootstrapServiceRegistry buildBootstrapServiceRegistry(Map<K, V> integrationSettings, ClassLoader providedClassLoader, ClassLoaderService providedClassLoaderService) Builds the
| |
| cancel | back to summary |
|---|---|
| public void cancel() Implements org. Doc from org. Cancel the building processing. This is used to signal the builder to release any resources in the case of something having gone wrong during the bootstrap process
| |
| cleanup | back to summary |
|---|---|
| private void cleanup() | |
| cleanUpConfigKeys | back to summary |
|---|---|
| private void cleanUpConfigKeys(HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl. | |
| cleanUpConfigKeys | back to summary |
|---|---|
| private void cleanUpConfigKeys(Map<?, ?> settings, String... keys) | |
| configureIdentifierGenerators | back to summary |
|---|---|
| private void configureIdentifierGenerators(StandardServiceRegistry ssr) | |
| extractPuProperty | back to summary |
|---|---|
| private <T> T extractPuProperty(PersistenceUnitDescriptor persistenceUnit, String propertyName) | |
| generateSchema | back to summary |
|---|---|
| public void generateSchema() Implements org. Doc from org. Perform an explicit schema generation (rather than an "auto" one) based on the
| |
| getConfigurationValues | back to summary |
|---|---|
| public Map | |
| getEnhancementContext | back to summary |
|---|---|
| protected EnhancementContext getEnhancementContext(final boolean dirtyTrackingEnabled, final boolean lazyInitializationEnabled, final boolean associationManagementEnabled) Builds the context to be used in runtime bytecode enhancement
| |
| getExceptionHeader | back to summary |
|---|---|
| private String getExceptionHeader() | |
| getMetadata | back to summary |
|---|---|
| public MetadataImplementor getMetadata() Intended for internal testing only... | |
| getStandardServiceRegistry | back to summary |
|---|---|
| protected StandardServiceRegistry getStandardServiceRegistry() Exposed to extensions: see Hibernate Reactive | |
| getStandardServiceRegistryBuilder | back to summary |
|---|---|
| protected StandardServiceRegistryBuilder getStandardServiceRegistryBuilder(BootstrapServiceRegistry bsr) Extension point for subclasses. Used by Hibernate Reactive | |
| loadSettingInstance | back to summary |
|---|---|
| private <T> T loadSettingInstance(String settingName, Object settingValue, Class<T> clazz) | |
| mergeSettings | back to summary |
|---|---|
private EntityManagerFactoryBuilderImpl.
| |
| metadata | back to summary |
|---|---|
| protected MetadataImplementor metadata() Used by extensions : Hibernate Reactive | |
| normalizeConnectionAccessUserAndPass | back to summary |
|---|---|
| private void normalizeConnectionAccessUserAndPass(HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl. Because a DataSource can be secured (requiring Hibernate to pass the USER/PASSWORD when accessing the DataSource) we apply precedence to the USER and PASS separately | |
| normalizeDataAccess | back to summary |
|---|---|
| private void normalizeDataAccess(HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl. | |
| normalizeSettings | back to summary |
|---|---|
| private void normalizeSettings(PersistenceUnitDescriptor persistenceUnit, Map<?, ?> integrationSettings, EntityManagerFactoryBuilderImpl. Handles normalizing the settings coming from multiple sources, applying proper precedences
| |
| normalizeTransactionCoordinator | back to summary |
|---|---|
private void normalizeTransactionCoordinator(PersistenceUnitDescriptor persistenceUnit, HashMap<?, ?> integrationSettingsCopy, EntityManagerFactoryBuilderImpl.
| |
| parseCacheRegionDefinitionEntry | back to summary |
|---|---|
| private CacheRegionDefinition parseCacheRegionDefinitionEntry(String role, String value, CacheRegionDefinition. | |
| parseJaccConfigEntry | back to summary |
|---|---|
| private GrantedPermission parseJaccConfigEntry(String keyString, String valueString)
Deprecated as a consequence of | |
| persistenceException | back to summary |
|---|---|
| private PersistenceException persistenceException(String message) | |
| persistenceException | back to summary |
|---|---|
| protected PersistenceException persistenceException(String message, Exception cause) | |
| populateSfBuilder | back to summary |
|---|---|
| protected void populateSfBuilder(SessionFactoryBuilder sfBuilder, StandardServiceRegistry ssr) | |
| processHibernateConfigXmlResources | back to summary |
|---|---|
| private void processHibernateConfigXmlResources(StandardServiceRegistryBuilder ssrBuilder, EntityManagerFactoryBuilderImpl. | |
| readBooleanConfigurationValue | back to summary |
|---|---|
| private boolean readBooleanConfigurationValue(String propertyName) | |
| withDataSource | back to summary |
|---|---|
| public EntityManagerFactoryBuilder withDataSource(DataSource dataSource) Implements org. Doc from org. Allows passing in a DataSource (delayed from constructing the builder, AKA phase 2) to be used in building the EntityManagerFactory
| |
| withValidatorFactory | back to summary |
|---|---|
| public EntityManagerFactoryBuilder withValidatorFactory(Object validatorFactory) Implements org. Doc from org. Allows passing in a Java EE ValidatorFactory (delayed from constructing the builder, AKA phase 2) to be used in building the EntityManagerFactory
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final EntityManagerFactoryBuilderImpl. | INSTANCE
Singleton access |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleEntityNotFound(String entityName, Serializable id)
Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final EntityManagerFactoryBuilderImpl. Singleton access | |
| JpaEntityNotFoundDelegate | back to summary |
|---|---|
| private JpaEntityNotFoundDelegate() | |
| handleEntityNotFound | back to summary |
|---|---|
| public void handleEntityNotFound(String entityName, Serializable id) Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private final Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Map | |
| private JaccPermissionDeclarations | getJaccPermissions(String jaccContextId)
Deprecated
as a consequence of
JaccPermissionDeclarations being deprecated.
|
| public void | |
| public void |
| cacheRegionDefinitions | back to summary |
|---|---|
| private List<CacheRegionDefinition> cacheRegionDefinitions | |
| configurationValues | back to summary |
|---|---|
| private final Map<K, V> configurationValues | |
| jaccPermissionsByContextId | back to summary |
|---|---|
| private Map<String, JaccPermissionDeclarations> jaccPermissionsByContextId | |
| MergedSettings | back to summary |
|---|---|
| private MergedSettings() MergedSettings is initialized with hibernate.properties | |
| addCacheRegionDefinition | back to summary |
|---|---|
| private void addCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition) | |
| getConfigurationValues | back to summary |
|---|---|
| public Map | |
| getJaccPermissions | back to summary |
|---|---|
| private JaccPermissionDeclarations getJaccPermissions(String jaccContextId)
Deprecated as a consequence of | |
| processHibernateConfigXmlResources | back to summary |
|---|---|
| public void processHibernateConfigXmlResources(LoadedConfig loadedConfig) | |
| processPersistenceUnitDescriptorProperties | back to summary |
|---|---|
| public void processPersistenceUnitDescriptorProperties(PersistenceUnitDescriptor persistenceUnit) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final EntityManagerFactoryBuilderImpl. | INSTANCE
Singleton access |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | sessionFactoryClosed(SessionFactory
The factory closed. sessionFactory)Overrides default org.
Deprecated
as a consequence of
Callback to indicate that the given factory has been closed.
SessionFactory being deprecated.
|
| public void | sessionFactoryCreated(SessionFactory
The factory initialized. sessionFactory)Overrides default org.
Deprecated
as a consequence of
Callback to indicate that the given factory has been created and is now ready for use.
SessionFactory being deprecated.
|
| INSTANCE | back to summary |
|---|---|
| public static final EntityManagerFactoryBuilderImpl. Singleton access | |
| ServiceRegistryCloser | back to summary |
|---|---|
| private ServiceRegistryCloser() | |
| sessionFactoryClosed | back to summary |
|---|---|
| public void sessionFactoryClosed(SessionFactory sessionFactory) Overrides default org. Doc from org. Deprecated as a consequence of Callback to indicate that the given factory has been closed. Care should be taken in how (if at all) the passed factory reference is used since it is closed.
| |
| sessionFactoryCreated | back to summary |
|---|---|
| public void sessionFactoryCreated(SessionFactory sessionFactory) Overrides default org. Doc from org. Deprecated as a consequence of Callback to indicate that the given factory has been created and is now ready for use.
| |