@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(java.lang.String pipetConfigPath) |
org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
placeholderConfigurer() |
java.util.concurrent.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}") java.lang.String pipetConfigPath) throws java.io.IOException
java.io.IOException@Bean public org.springframework.context.support.PropertySourcesPlaceholderConfigurer placeholderConfigurer()
@Bean @Autowired public VariableConfiguration variableConfiguration(JsonPipetConfig jsonPipetConfig)
@Bean(destroyMethod="shutdownNow")
@Autowired
public java.util.concurrent.ScheduledExecutorService scheduledExecutorService(com.indeed.proctor.common.AbstractProctorLoader loader,
@Value(value="${proctor.pipet.reload.seconds}")
int proctorReloadSeconds)
Copyright © 2018. All Rights Reserved.