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 prefix,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected ConditionOutcome |
getResourceOutcome(ConditionContext context,
AnnotatedTypeMetadata metadata)
Check if one of the default resource locations actually exists.
|
getMatchOutcome, startConditionMessage
anyMatches, logOutcome, matches, matches
protected ConditionOutcome getResourceOutcome(ConditionContext context, AnnotatedTypeMetadata metadata)
ResourceCondition
getResourceOutcome
in class ResourceCondition
context
- the condition contextmetadata
- the annotation metadataCopyright © 2019 Pivotal Software, Inc.. All rights reserved.