Class ConfluenceLocalSessionFactoryBean
- java.lang.Object
-
- org.springframework.orm.hibernate5.HibernateExceptionTranslator
-
- org.springframework.orm.hibernate5.LocalSessionFactoryBean
-
- com.atlassian.confluence.impl.core.persistence.hibernate.ConfigurableLocalSessionFactoryBean
-
- com.atlassian.confluence.impl.hibernate.ConfluenceLocalSessionFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<org.hibernate.SessionFactory>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ResourceLoaderAware
,org.springframework.dao.support.PersistenceExceptionTranslator
public class ConfluenceLocalSessionFactoryBean extends ConfigurableLocalSessionFactoryBean
A specialisation of Spring'sorg.springframework.orm.hibernate.LocalSessionFactoryBean
which adds Confluence-specific functionality.- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description ConfluenceLocalSessionFactoryBean(ConfigurableConnectionProviderSupplier connectionSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
-
Methods inherited from class com.atlassian.confluence.impl.core.persistence.hibernate.ConfigurableLocalSessionFactoryBean
buildSessionFactory, prepareConfiguration, setCurrentMappingResources, setDataSource, setHibernateConfig
-
Methods inherited from class org.springframework.orm.hibernate5.LocalSessionFactoryBean
destroy, getConfiguration, getHibernateProperties, getMetadataSources, getObject, getObjectType, getResourceLoader, isSingleton, setAnnotatedClasses, setAnnotatedPackages, setBeanFactory, setBootstrapExecutor, setCacheableMappingLocations, setCacheRegionFactory, setConfigLocation, setConfigLocations, setCurrentTenantIdentifierResolver, setEntityInterceptor, setEntityTypeFilters, setHibernateIntegrators, setHibernateProperties, setImplicitNamingStrategy, setJtaTransactionManager, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setMetadataSources, setMultiTenantConnectionProvider, setPackagesToScan, setPhysicalNamingStrategy, setResourceLoader
-
-
-
-
Constructor Detail
-
ConfluenceLocalSessionFactoryBean
public ConfluenceLocalSessionFactoryBean(ConfigurableConnectionProviderSupplier connectionSupplier)
- Since:
- 7.1
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws IllegalArgumentException, IOException
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in classConfigurableLocalSessionFactoryBean
- Throws:
IllegalArgumentException
IOException
-
-