Annotation Interface ConditionalOnWarDeployment
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.condition.OnWarDeploymentCondition.class)
public @interface ConditionalOnWarDeployment
@Conditional
that matches when the application is a traditional WAR
deployment. For applications with embedded servers, this condition will return false.- Since:
- 2.3.0
- Author:
- Madhura Bhave