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 and Type | Field and Description |
|---|---|
protected static String |
HAZELCAST_CONFIG_PROPERTY |
| Modifier | Constructor and Description |
|---|---|
protected |
HazelcastConfigResourceCondition(String configSystemProperty,
String... resourceLocations) |
| Modifier and Type | Method and Description |
|---|---|
protected ConditionOutcome |
getResourceOutcome(ConditionContext context,
AnnotatedTypeMetadata metadata)
Check if one of the default resource locations actually exists.
|
getMatchOutcome, startConditionMessageanyMatches, logOutcome, matches, matchesprotected static final String HAZELCAST_CONFIG_PROPERTY
protected ConditionOutcome getResourceOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
ResourceConditiongetResourceOutcome in class ResourceConditioncontext - the condition contextmetadata - the annotation metadata