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(ConditionContext context,
AnnotatedTypeMetadata metadata)
Check if one of the default resource locations actually exists.
|
getMatchOutcome, startConditionMessageanyMatches, logOutcome, matches, matchesprotected ConditionOutcome getResourceOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
ResourceConditiongetResourceOutcome in class ResourceConditioncontext - the condition contextmetadata - the annotation metadataCopyright © 2019 Pivotal Software, Inc.. All rights reserved.