public abstract class HazelcastConfigResourceCondition extends ResourceCondition
SpringBootCondition
used to check if the Hazelcast configuration is available.
This either kicks in if a default configuration has been found or if configurable
property referring to the resource to use has been set.Modifier | Constructor and Description |
---|---|
protected |
HazelcastConfigResourceCondition(String configSystemProperty,
String... resourceLocations) |
Modifier and Type | Method and Description |
---|---|
protected ConditionOutcome |
getResourceOutcome(org.springframework.context.annotation.ConditionContext context,
org.springframework.core.type.AnnotatedTypeMetadata metadata)
Check if one of the default resource locations actually exists.
|
getMatchOutcome, startConditionMessage
anyMatches, logOutcome, matches, matches
protected ConditionOutcome getResourceOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
ResourceCondition
getResourceOutcome
in class ResourceCondition
context
- the condition contextmetadata
- the annotation metadataCopyright © 2020 Pivotal Software, Inc.. All rights reserved.