类 HazelcastConfigResourceCondition
java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.condition.ResourceCondition
org.springframework.boot.autoconfigure.hazelcast.HazelcastConfigResourceCondition
- 所有已实现的接口:
Condition
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.- 从以下版本开始:
- 1.3.0
- 作者:
- Stephane Nicoll, Madhura Bhave, Vedran Pavic
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明protected
HazelcastConfigResourceCondition
(String configSystemProperty, String... resourceLocations) -
方法概要
修饰符和类型方法说明protected ConditionOutcome
getResourceOutcome
(ConditionContext context, AnnotatedTypeMetadata metadata) Check if one of the default resource locations actually exists.从类继承的方法 org.springframework.boot.autoconfigure.condition.ResourceCondition
getMatchOutcome, startConditionMessage
从类继承的方法 org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
字段详细资料
-
HAZELCAST_CONFIG_PROPERTY
- 另请参阅:
-
-
构造器详细资料
-
HazelcastConfigResourceCondition
-
-
方法详细资料
-
getResourceOutcome
protected ConditionOutcome getResourceOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) 从类复制的说明:ResourceCondition
Check if one of the default resource locations actually exists.- 覆盖:
getResourceOutcome
在类中ResourceCondition
- 参数:
context
- the condition contextmetadata
- the annotation metadata- 返回:
- the condition outcome
-