@Configuration
public class DatabaseConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
Configuration creates the ExperimentDAO bean by loading the XML config from the class path.| Constructor and Description |
|---|
DatabaseConfig() |
| Modifier and Type | Method and Description |
|---|---|
ExperimentDAO |
experimentDAO()
This
Configuration creates the ExperimentDAO bean by loading the XML config from the class path. |
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, getMessageCodesResolver, getValidator@Bean public ExperimentDAO experimentDAO()
Configuration creates the ExperimentDAO bean by loading the XML config from the class path.
After that, the bean is initialized using the ExperimentDAO.initialize() method.Copyright © 2014–2017. All rights reserved.