@Configuration @EnableWebMvc @EnableScheduling @Import(value=com.indeed.proctor.pipet.core.config.CoreConfig.class) @ComponentScan(value="com.indeed.proctor.pipet.core") public class AppConfig extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
AppConfig() |
| Modifier and Type | Method and Description |
|---|---|
JsonPipetConfig |
jsonPipetConfig(String pipetConfigPath) |
org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
placeholderConfigurer() |
ScheduledExecutorService |
scheduledExecutorService(com.indeed.proctor.common.AbstractProctorLoader loader,
int proctorReloadSeconds) |
VariableConfiguration |
variableConfiguration(JsonPipetConfig jsonPipetConfig) |
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator@Bean public JsonPipetConfig jsonPipetConfig(@Value(value="${proctor.pipet.config.path}") String pipetConfigPath) throws IOException
IOException@Bean public org.springframework.context.support.PropertySourcesPlaceholderConfigurer placeholderConfigurer()
@Bean @Autowired public VariableConfiguration variableConfiguration(JsonPipetConfig jsonPipetConfig)
@Bean(destroyMethod="shutdownNow") @Autowired public ScheduledExecutorService scheduledExecutorService(com.indeed.proctor.common.AbstractProctorLoader loader, @Value(value="${proctor.pipet.reload.seconds}") int proctorReloadSeconds)
Copyright © 2019. All rights reserved.