update 规范化 自动装配 注解使用

This commit is contained in:
疯狂的狮子li
2022-06-17 11:36:12 +08:00
parent 86d4101fa6
commit 23d7fb11a0
17 changed files with 75 additions and 85 deletions

View File

@@ -12,7 +12,7 @@ import org.springframework.web.servlet.LocaleResolver;
*
* @author Lion Li
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@AutoConfigureBefore(WebMvcAutoConfiguration.class)
public class I18nConfig {

View File

@@ -11,7 +11,7 @@ import org.springframework.context.annotation.Configuration;
*
* @author Lion Li
*/
@Configuration
@Configuration(proxyBeanMethods = false)
public class UndertowConfig implements WebServerFactoryCustomizer<UndertowServletWebServerFactory> {
/**