Annotation Interface ConditionalOnNotWarDeployment
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.condition.OnWarDeploymentCondition.class)
public @interface ConditionalOnNotWarDeployment
@Conditional
that only matches when the application is not a
traditional WAR deployment. For applications with embedded servers, this condition will
return true.- Since:
- 2.7.10
- Author:
- Guirong Hu