BAEL-4871 Spring Conditional Annotations
This commit is contained in:
parent
6f757f33b3
commit
2d1d9f3ec5
|
@ -9,9 +9,9 @@ import org.springframework.stereotype.Service;
|
|||
@Service
|
||||
@Conditional(IsDevEnvCondition.class)
|
||||
@ConditionalOnProperty(
|
||||
value = "logging.enabled",
|
||||
havingValue = "true",
|
||||
matchIfMissing = true)
|
||||
value = "logging.enabled",
|
||||
havingValue = "true",
|
||||
matchIfMissing = true)
|
||||
@ConditionalOnExpression("${logging.enabled:true} and ${logging.level:DEBUG}")
|
||||
@ConditionalOnJava(ConditionalOnJava.JavaVersion.EIGHT)
|
||||
@Conditional(IsWindowsCondition.class)
|
||||
|
|
Loading…
Reference in New Issue