批注接口 ConditionalOnEnabledResourceChain


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(org.springframework.boot.autoconfigure.web.OnEnabledResourceChainCondition.class) public @interface ConditionalOnEnabledResourceChain
@Conditional that checks whether the Spring resource handling chain is enabled. Matches if WebProperties.Resources.Chain.getEnabled() is true or if one of "org.webjars:webjars-locator-core", "org.webjars:webjars-locator-lite" is on the classpath.

Note that support for "org.webjars:webjars-locator-core" is deprecated.

从以下版本开始:
1.3.0
作者:
Stephane Nicoll