@Configuration
@EnableTransactionManagement
@Import(value={H2Config.class,GcmXmppConfig.class,WebSocketConfig.class})
public class ApplicationConfig
extends Object
| Modifier and Type | Field and Description |
|---|---|
static Class[] |
entityClasses |
| Constructor and Description |
|---|
ApplicationConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.context.ServletContextAware |
endpointExporterInitializer(org.springframework.context.ApplicationContext applicationContext) |
org.hibernate.SessionFactory |
getSessionFactory(DataSource dataSource) |
org.springframework.orm.hibernate4.HibernateTransactionManager |
getTransactionManager(org.hibernate.SessionFactory sessionFactory) |
org.springframework.web.servlet.view.InternalResourceViewResolver |
getViewResolver() |
Integer |
httpPort() |
Integer |
httpsPort() |
org.springframework.boot.context.embedded.EmbeddedServletContainerFactory |
servletContainer() |
public static final Class[] entityClasses
@Bean(name="viewResolver") public org.springframework.web.servlet.view.InternalResourceViewResolver getViewResolver()
@Autowired @Bean(name="sessionFactory") public org.hibernate.SessionFactory getSessionFactory(DataSource dataSource)
@Autowired @Bean(name="transactionManager") public org.springframework.orm.hibernate4.HibernateTransactionManager getTransactionManager(org.hibernate.SessionFactory sessionFactory)
@Bean public org.springframework.web.context.ServletContextAware endpointExporterInitializer(org.springframework.context.ApplicationContext applicationContext)
@Bean public Integer httpPort()
@Bean public Integer httpsPort()
@Bean public org.springframework.boot.context.embedded.EmbeddedServletContainerFactory servletContainer()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.