クラス HazelcastConfigResourceCondition
java.lang.ObjectSE
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.condition.ResourceCondition
org.springframework.boot.autoconfigure.hazelcast.HazelcastConfigResourceCondition
- 実装されたすべてのインターフェース:
Condition
SpringBootCondition
は、Hazelcast 構成が使用可能かどうかを確認するために使用されます。これは、デフォルトの構成が見つかった場合、または使用するリソースを参照する構成可能なプロパティが設定されている場合に開始されます。- 導入:
- 1.3.0
- 作成者:
- Stephane Nicoll, Madhura Bhave, Vedran Pavic
フィールドのサマリー
フィールドコンストラクターの概要
コンストラクター修飾子コンストラクター説明protected
HazelcastConfigResourceCondition
(StringSE configSystemProperty, StringSE... resourceLocations) メソッドのサマリー
修飾子と型メソッド説明protected ConditionOutcome
getResourceOutcome
(ConditionContext context, AnnotatedTypeMetadata metadata) デフォルトのリソースロケーションの 1 つが実際に存在するかどうかを確認します。クラス 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
デフォルトのリソースロケーションの 1 つが実際に存在するかどうかを確認します。- オーバーライド:
- クラス
ResourceCondition
のgetResourceOutcome
- パラメーター:
context
- 条件コンテキストmetadata
- アノテーションメタデータ- 戻り値:
- 状態の結果