@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Conditional(value=org.springframework.boot.autoconfigure.condition.OnWebApplicationCondition.class) public @interface ConditionalOnNotWebApplication
@Conditional
that only matches when the application context is a
not a web application context.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.