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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
org.springframework.security.task.DelegatingSecurityContextAsyncTaskExecutor
taskExecutor
(org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor delegate) org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
org.springframework.data.auditing.DateTimeProvider
-
Constructor Details
-
HappierCowsApplication
public HappierCowsApplication()
-
-
Method Details
-
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()
-