⚡ 修改Configuration注解
This commit is contained in:
parent
8ac2dc4348
commit
5ef0159ac9
|
|
@ -24,7 +24,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*
|
||||
* @author Chill
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@AllArgsConstructor
|
||||
public class BladeCommonConfiguration {
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import reactor.core.publisher.Mono;
|
|||
* @author Chill
|
||||
*/
|
||||
@Slf4j
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@AllArgsConstructor
|
||||
@EnableConfigurationProperties({AuthProperties.class})
|
||||
public class RouterFunctionConfiguration {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import reactor.core.publisher.Mono;
|
|||
* @author Chill
|
||||
*/
|
||||
@Order(-1)
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@RequiredArgsConstructor
|
||||
public class ErrorExceptionHandler implements ErrorWebExceptionHandler {
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import javax.sql.DataSource;
|
|||
*
|
||||
* @author Chill
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(value = "report.enabled", havingValue = "true", matchIfMissing = true)
|
||||
public class BladeReportConfiguration {
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*
|
||||
* @author Chill
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@AllArgsConstructor
|
||||
@AutoConfigureBefore(RegistryConfiguration.class)
|
||||
public class ScopeConfiguration {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import org.springframework.context.annotation.Configuration;
|
|||
*
|
||||
* @author Chill
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableFeignClients({"org.springblade", "com.example"})
|
||||
@MapperScan({"org.springblade.**.mapper.**", "com.example.**.mapper.**"})
|
||||
@EnableConfigurationProperties(DemoProperties.class)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user