@Configuration
@ComponentScan
@EnableAutoConfiguration
@EnableJpaRepositories
@EnableTransactionManagement
@RestController
@EnableGlobalMethodSecurity(securedEnabled=true)
@EnableJpaAuditing
public class GatewayApplication
extends org.springframework.boot.context.web.SpringBootServletInitializer
Modifier and Type | Class and Description |
---|---|
protected static class |
GatewayApplication.SecurityConfiguration |
Constructor and Description |
---|
GatewayApplication() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.AuditorAware<String> |
auditorProvider() |
protected org.springframework.boot.builder.SpringApplicationBuilder |
configure(org.springframework.boot.builder.SpringApplicationBuilder application) |
DataSource |
dataSource() |
org.thymeleaf.templateresolver.ClassLoaderTemplateResolver |
emailTemplateResolver() |
javax.persistence.EntityManagerFactory |
entityManagerFactory() |
org.springframework.orm.jpa.JpaVendorAdapter |
jpaVendorAdapter() |
org.springframework.web.servlet.LocaleResolver |
localeResolver() |
javax.validation.Validator |
localValidatorFactoryBean() |
org.springframework.mail.javamail.JavaMailSender |
mailSender() |
static void |
main(String[] args) |
org.springframework.context.MessageSource |
messageSource() |
org.thymeleaf.spring3.SpringTemplateEngine |
templateEngine() |
Principal |
user(Principal user) |
@Bean public DataSource dataSource()
@Bean public org.springframework.data.domain.AuditorAware<String> auditorProvider()
@Bean public org.springframework.orm.jpa.JpaVendorAdapter jpaVendorAdapter()
@Bean public javax.persistence.EntityManagerFactory entityManagerFactory()
@Bean public javax.validation.Validator localValidatorFactoryBean()
@Bean public org.springframework.web.servlet.LocaleResolver localeResolver()
@Bean public org.springframework.context.MessageSource messageSource()
@Bean public org.springframework.mail.javamail.JavaMailSender mailSender()
@Bean public org.thymeleaf.templateresolver.ClassLoaderTemplateResolver emailTemplateResolver()
@Bean public org.thymeleaf.spring3.SpringTemplateEngine templateEngine()
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder application)
configure
in class org.springframework.boot.context.web.SpringBootServletInitializer
public static void main(String[] args)
Copyright © 2015 Powered by Sergey. All rights reserved.