@Configuration @EnableAsync @EnableTransactionManagement public class SessionConfig extends Object implements org.springframework.transaction.annotation.TransactionManagementConfigurer
| Constructor and Description |
|---|
SessionConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.transaction.PlatformTransactionManager |
annotationDrivenTransactionManager() |
javax.persistence.EntityManagerFactory |
getEntityManagerFactory() |
HibernateService |
getHibernateService() |
RepositoryTransactionPool |
getRepositoryThreadPool() |
org.hibernate.SessionFactory |
getSessionFactory() |
SessionTemplateFactory |
getSessionTemplateFactory() |
@Bean(destroyMethod="close") public HibernateService getHibernateService()
@Bean public RepositoryTransactionPool getRepositoryThreadPool()
@Bean(destroyMethod="") public javax.persistence.EntityManagerFactory getEntityManagerFactory()
@Bean(destroyMethod="") public org.hibernate.SessionFactory getSessionFactory()
@Bean public SessionTemplateFactory getSessionTemplateFactory()
@Bean public org.springframework.transaction.PlatformTransactionManager annotationDrivenTransactionManager()
annotationDrivenTransactionManager in interface org.springframework.transaction.annotation.TransactionManagementConfigurerCopyright © 2014–2015. All rights reserved.