@Configuration
@EnableTransactionManagement
@ComponentScan(basePackages="com.bilalalp.cxflogger")
@PropertySource(value={"classpath:application.properties","classpath:db/${db:h2}.properties"})
public class CxfLoggerApplicationConfig
extends Object
| Constructor and Description |
|---|
CxfLoggerApplicationConfig() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
dataSource() |
org.springframework.orm.jpa.JpaTransactionManager |
jpaTransactionManager() |
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean |
localEntityManagerFactory() |
void |
post() |
@PostConstruct public void post()
@Bean(name="cxfLoggerEntityManagerFactory")
public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean localEntityManagerFactory()
throws PropertyVetoException
PropertyVetoException@Bean(name="cxfLoggerJpaTransactionManager")
public org.springframework.orm.jpa.JpaTransactionManager jpaTransactionManager()
throws PropertyVetoException
PropertyVetoException@Bean(name="cxfLoggerDatasource") public DataSource dataSource() throws PropertyVetoException
PropertyVetoExceptionCopyright © 2015. All rights reserved.