Package edu.ucsb.cs156.organic
Class OrganicApplication
java.lang.Object
edu.ucsb.cs156.organic.OrganicApplication
@SpringBootApplication
@EnableJpaAuditing(dateTimeProviderRef="utcDateTimeProvider")
@EnableAsync
@EnableScheduling
public class OrganicApplication
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
-
OrganicApplication
public OrganicApplication()
-
-
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()
-