public class DefaultLeaderEventPublisher extends ObjectSE implements LeaderEventPublisher, ApplicationEventPublisherAware
LeaderEventPublisher のデフォルト実装。| コンストラクターと説明 |
|---|
DefaultLeaderEventPublisher() 新しいリーダーイベントパブリッシャーをインスタンス化します。 |
DefaultLeaderEventPublisher(ApplicationEventPublisher applicationEventPublisher) 新しいリーダーイベントパブリッシャーをインスタンス化します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | publishOnFailedToAcquire(ObjectSE source, Context context, StringSE role) イベントの取得の失敗を公開します。 |
void | publishOnGranted(ObjectSE source, Context context, StringSE role) 付与されたイベントを公開します。 |
void | publishOnRevoked(ObjectSE source, Context context, StringSE role) 取り消されたイベントを公開します。 |
void | setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic DefaultLeaderEventPublisher()
public DefaultLeaderEventPublisher(ApplicationEventPublisher applicationEventPublisher)
applicationEventPublisher - アプリケーションイベント発行者 public void publishOnGranted(ObjectSE source, Context context, StringSE role)
LeaderEventPublisherLeaderEventPublisher の publishOnGranted source - コンポーネントがこのイベントを生成しました context - イベントに関連付けられたコンテキスト role - リーダーのロール public void publishOnRevoked(ObjectSE source, Context context, StringSE role)
LeaderEventPublisherLeaderEventPublisher の publishOnRevoked source - コンポーネントがこのイベントを生成しました context - イベントに関連付けられたコンテキスト role - リーダーのロール public void publishOnFailedToAcquire(ObjectSE source, Context context, StringSE role)
LeaderEventPublisherLeaderEventPublisher の publishOnFailedToAcquire source - コンポーネントがこのイベントを生成しました context - イベントに関連付けられたコンテキスト role - リーダーのロール public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
ApplicationEventPublisherAware の setApplicationEventPublisher