Class AcrossHibernateJpaModule
java.lang.Object
com.foreach.across.core.context.AbstractAcrossEntity
com.foreach.across.core.AcrossModule
com.foreach.across.modules.hibernate.AbstractHibernatePackageModule
com.foreach.across.modules.hibernate.jpa.AcrossHibernateJpaModule
- All Implemented Interfaces:
- com.foreach.across.core.context.AcrossEntity,- com.foreach.across.core.context.AcrossModuleEntity
Enables JPA support using Hibernate as the implementation.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder for creating a customAcrossHibernateJpaModule.
- 
Field SummaryFieldsFields inherited from class com.foreach.across.core.AcrossModuleCURRENT_MODULE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Create the specific settings implementation instance for property binding.getName()voidprepareForBootstrap(com.foreach.across.core.context.bootstrap.ModuleBootstrapConfig currentModule, com.foreach.across.core.context.bootstrap.AcrossBootstrapConfig contextConfig) protected voidregisterDefaultApplicationContextConfigurers(Set<com.foreach.across.core.context.configurer.ApplicationContextConfigurer> contextConfigurers) protected final voidsetPersistenceUnitName(String persistenceUnitName) final voidsetPrimary(Boolean primary) Configure this module as primary: makes some exposed beans primary and will attempt to register aliases for the transaction manager and transaction template.Methods inherited from class com.foreach.across.modules.hibernate.AbstractHibernatePackageModuleaddHibernatePackageProvider, getDataSource, getDataSourceName, getHibernatePackageProviders, getHibernateProperties, getPropertiesPrefix, isScanForHibernatePackages, setDataSource, setDataSourceName, setHibernatePackageProviders, setHibernateProperties, setHibernateProperty, setPropertiesPrefix, setScanForHibernatePackagesMethods inherited from class com.foreach.across.core.AcrossModuleaddApplicationContextConfigurer, addApplicationContextConfigurer, addInstallerContextConfigurer, addInstallerContextConfigurer, addPropertySources, addPropertySources, addRuntimeDependency, equals, expose, expose, exposeClass, getApplicationContextConfigurers, getContext, getExposeFilter, getExposeTransformer, getExtensionTargets, getInstallerContextConfigurers, getInstallers, getInstallerScanPackages, getInstallerSettings, getModuleConfigurationScanPackages, getResourcesKey, getRuntimeDependencies, getVersionInfo, hashCode, isEnabled, registerDefaultInstallerContextConfigurers, setContext, setEnabled, setExposeFilter, setExposeTransformer, setInstallerSettings, toStringMethods inherited from class com.foreach.across.core.context.AbstractAcrossEntityaddPropertySources, getAcrossApplicationContextHolder, getProperties, hasApplicationContext, setAcrossApplicationContextHolder, setProperties, setProperty
- 
Field Details- 
NAME- See Also:
 
 
- 
- 
Constructor Details- 
AcrossHibernateJpaModulepublic AcrossHibernateJpaModule()
- 
AcrossHibernateJpaModule
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- com.foreach.across.core.context.AcrossModuleEntity
- Specified by:
- getNamein class- com.foreach.across.core.AcrossModule
 
- 
getDescription- Overrides:
- getDescriptionin class- com.foreach.across.core.AcrossModule
 
- 
setPersistenceUnitName
- 
setPrimaryConfigure this module as primary: makes some exposed beans primary and will attempt to register aliases for the transaction manager and transaction template.- Parameters:
- primary- or not
 
- 
createSettingsDescription copied from class:AbstractHibernatePackageModuleCreate the specific settings implementation instance for property binding. Override this method if a module wants to use an extended settings class.- Overrides:
- createSettingsin class- AbstractHibernatePackageModule
- Returns:
- a new instance for property binding
 
- 
registerDefaultApplicationContextConfigurersprotected void registerDefaultApplicationContextConfigurers(Set<com.foreach.across.core.context.configurer.ApplicationContextConfigurer> contextConfigurers) - Overrides:
- registerDefaultApplicationContextConfigurersin class- com.foreach.across.core.AcrossModule
 
- 
prepareForBootstrappublic void prepareForBootstrap(com.foreach.across.core.context.bootstrap.ModuleBootstrapConfig currentModule, com.foreach.across.core.context.bootstrap.AcrossBootstrapConfig contextConfig) - Overrides:
- prepareForBootstrapin class- com.foreach.across.core.AcrossModule
 
- 
builder- Returns:
- a builder for a custom AcrossHibernateJpaModule
 
 
-