Package edu.ucsb.cs156.happiercows
Class HappierCowsApplication
java.lang.Object
edu.ucsb.cs156.happiercows.HappierCowsApplication
@SpringBootApplication
@EnableJpaAuditing(dateTimeProviderRef="utcDateTimeProvider")
@EnableAsync
@EnableScheduling
public class HappierCowsApplication
extends Object
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.ApplicationRunnerHook that can be used to set up any services needed for developmentstatic voidorg.springframework.security.task.DelegatingSecurityContextAsyncTaskExecutortaskExecutor(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor delegate) org.springframework.scheduling.concurrent.ThreadPoolTaskExecutororg.springframework.data.auditing.DateTimeProviderorg.springframework.boot.ApplicationRunnerWhen using the wiremock profile, this method will call the code needed to set up the wiremock services 
- 
Constructor Details
- 
HappierCowsApplication
public HappierCowsApplication() 
 - 
 - 
Method Details
- 
wiremockApplicationRunner
@Profile("wiremock") @Bean public org.springframework.boot.ApplicationRunner wiremockApplicationRunner()When using the wiremock profile, this method will call the code needed to set up the wiremock services - 
developmentApplicationRunner
@Profile("development") @Bean public org.springframework.boot.ApplicationRunner developmentApplicationRunner()Hook that can be used to set up any services needed for development - 
main
 - 
utcDateTimeProvider
@Bean public org.springframework.data.auditing.DateTimeProvider utcDateTimeProvider() - 
taskExecutor
@Bean public org.springframework.security.task.DelegatingSecurityContextAsyncTaskExecutor taskExecutor(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor delegate)  - 
threadPoolTaskExecutor
@Bean public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor() 
 -