@SpringBootApplication(exclude=org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class)
@EnableCaching
public class Application
extends org.springframework.boot.context.web.SpringBootServletInitializer
| Modifier and Type | Field and Description |
|---|---|
static String |
DEV_PROFILE_NAME |
| Constructor and Description |
|---|
Application() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cache.ehcache.EhCacheCacheManager |
cacheManager(net.sf.ehcache.CacheManager ehCacheCacheManager) |
protected org.springframework.boot.builder.SpringApplicationBuilder |
configure(org.springframework.boot.builder.SpringApplicationBuilder application) |
CrmService |
crmService(org.springframework.core.env.Environment environment,
LmngIdentifierDao lmngIdentifierDao,
String endpoint) |
net.sf.ehcache.CacheManager |
ehCacheCacheManager(org.springframework.core.io.Resource location) |
Emailer |
emailer(org.springframework.core.env.Environment environment,
org.springframework.mail.javamail.JavaMailSender mailSender) |
EmailService |
emailService(org.springframework.core.env.Environment environment,
org.springframework.mail.javamail.JavaMailSender mailSender,
String administrativeEmail) |
Janus |
janus(org.springframework.core.env.Environment environment,
String uri,
String user,
String secret) |
org.springframework.jdbc.core.JdbcTemplate |
jdbcTemplate(DataSource dataSource) |
JiraClient |
jiraClient(org.springframework.core.env.Environment environment,
String baseUrl,
String username,
String password,
String projectKey) |
LicenseContactPersonService |
licenseContactPersonService(String contentFileLocation) |
org.springframework.web.servlet.LocaleResolver |
localeResolver() |
static void |
main(String[] args) |
ServicesCache |
servicesCache(CompoundSPService compoundSPService,
CrmService crmService,
long initialDelay,
long delay,
long callDelay,
String staticBaseUrl,
String lmngDeepLinkBaseUrl,
String[] guids) |
org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer |
servletContainerCustomizer()
Required because of https://github.com/spring-projects/spring-boot/issues/2825
As the issue says, probably can be removed as of Spring-Boot 1.3.0
|
org.springframework.web.servlet.view.InternalResourceViewResolver |
viewResolver(String prefix,
String suffix) |
VootClient |
vootClient(org.springframework.core.env.Environment environment,
String accessTokenUri,
String clientId,
String clientSecret,
String scopes,
String serviceUrl) |
public static final String DEV_PROFILE_NAME
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder application)
configure in class org.springframework.boot.context.web.SpringBootServletInitializer@Bean public org.springframework.jdbc.core.JdbcTemplate jdbcTemplate(DataSource dataSource)
@Bean public org.springframework.cache.ehcache.EhCacheCacheManager cacheManager(net.sf.ehcache.CacheManager ehCacheCacheManager)
@Bean
public net.sf.ehcache.CacheManager ehCacheCacheManager(@Value(value="${csa.cache.ehcache.config:classpath:/ehcache.xml}")
org.springframework.core.io.Resource location)
@Bean public VootClient vootClient(org.springframework.core.env.Environment environment, @Value(value="${voot.accessTokenUri}") String accessTokenUri, @Value(value="${voot.clientId}") String clientId, @Value(value="${voot.clientSecret}") String clientSecret, @Value(value="${voot.scopes}") String scopes, @Value(value="${voot.serviceUrl}") String serviceUrl)
@Bean public org.springframework.web.servlet.LocaleResolver localeResolver()
@Bean public Janus janus(org.springframework.core.env.Environment environment, @Value(value="${janus.uri}") String uri, @Value(value="${janus.user}") String user, @Value(value="${janus.secret}") String secret) throws Exception
Exception@Bean public JiraClient jiraClient(org.springframework.core.env.Environment environment, @Value(value="${jiraBaseUrl}") String baseUrl, @Value(value="${jiraUsername}") String username, @Value(value="${jiraPassword}") String password, @Value(value="${jiraProjectKey}") String projectKey) throws Exception
Exception@Bean public CrmService crmService(org.springframework.core.env.Environment environment, LmngIdentifierDao lmngIdentifierDao, @Value(value="${crmServiceClassEndpoint}") String endpoint)
@Bean public EmailService emailService(org.springframework.core.env.Environment environment, org.springframework.mail.javamail.JavaMailSender mailSender, @Value(value="${coin-administrative-email}") String administrativeEmail)
@Bean public Emailer emailer(org.springframework.core.env.Environment environment, org.springframework.mail.javamail.JavaMailSender mailSender)
@Bean public ServicesCache servicesCache(CompoundSPService compoundSPService, CrmService crmService, @Value(value="${cache.default.initialDelay}") long initialDelay, @Value(value="${cache.default.delay}") long delay, @Value(value="${cacheMillisecondsCallDelay}") long callDelay, @Value(value="${static.baseurl}") String staticBaseUrl, @Value(value="${lmngDeepLinkBaseUrl}") String lmngDeepLinkBaseUrl, @Value(value="${public.api.lmng.guids}") String[] guids)
@Bean public LicenseContactPersonService licenseContactPersonService(@Value(value="${licenseContactPerson.config.path}") String contentFileLocation)
@Bean public org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer servletContainerCustomizer()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.