当前位置:网站首页>@Analysis of conditional on Web Application

@Analysis of conditional on Web Application

2022-04-23 19:12:00 Blocking rain G

@ConditionalOnWebApplication The main use is :  When Spring by web The service , To make the annotated class effective ; It's usually a configuration class ;

The corresponding is @ConditionalOnNotWebApplication( No web application )

版权声明
本文为[Blocking rain G]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210601215518.html