修改Configuration注解

This commit is contained in:
smallchill 2022-08-03 19:59:57 +08:00
parent 8ac2dc4348
commit 5ef0159ac9
6 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@ import org.springframework.context.annotation.Configuration;
* *
* @author Chill * @author Chill
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@AllArgsConstructor @AllArgsConstructor
public class BladeCommonConfiguration { public class BladeCommonConfiguration {

View File

@ -39,7 +39,7 @@ import reactor.core.publisher.Mono;
* @author Chill * @author Chill
*/ */
@Slf4j @Slf4j
@Configuration @Configuration(proxyBeanMethods = false)
@AllArgsConstructor @AllArgsConstructor
@EnableConfigurationProperties({AuthProperties.class}) @EnableConfigurationProperties({AuthProperties.class})
public class RouterFunctionConfiguration { public class RouterFunctionConfiguration {

View File

@ -39,7 +39,7 @@ import reactor.core.publisher.Mono;
* @author Chill * @author Chill
*/ */
@Order(-1) @Order(-1)
@Configuration @Configuration(proxyBeanMethods = false)
@RequiredArgsConstructor @RequiredArgsConstructor
public class ErrorExceptionHandler implements ErrorWebExceptionHandler { public class ErrorExceptionHandler implements ErrorWebExceptionHandler {

View File

@ -27,7 +27,7 @@ import javax.sql.DataSource;
* *
* @author Chill * @author Chill
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@ConditionalOnProperty(value = "report.enabled", havingValue = "true", matchIfMissing = true) @ConditionalOnProperty(value = "report.enabled", havingValue = "true", matchIfMissing = true)
public class BladeReportConfiguration { public class BladeReportConfiguration {

View File

@ -29,7 +29,7 @@ import org.springframework.context.annotation.Configuration;
* *
* @author Chill * @author Chill
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@AllArgsConstructor @AllArgsConstructor
@AutoConfigureBefore(RegistryConfiguration.class) @AutoConfigureBefore(RegistryConfiguration.class)
public class ScopeConfiguration { public class ScopeConfiguration {

View File

@ -27,7 +27,7 @@ import org.springframework.context.annotation.Configuration;
* *
* @author Chill * @author Chill
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@EnableFeignClients({"org.springblade", "com.example"}) @EnableFeignClients({"org.springblade", "com.example"})
@MapperScan({"org.springblade.**.mapper.**", "com.example.**.mapper.**"}) @MapperScan({"org.springblade.**.mapper.**", "com.example.**.mapper.**"})
@EnableConfigurationProperties(DemoProperties.class) @EnableConfigurationProperties(DemoProperties.class)