クラス IntegrationEvent
java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
- 実装済みのインターフェース一覧:
SerializableSE
- 既知の直属サブクラス
FileIntegrationEvent, FileServerEvent, IpIntegrationEvent, MailIntegrationEvent, MessageGroupExpiredEvent, MqttIntegrationEvent, RedisIntegrationEvent, RSocketConnectedEvent, StompIntegrationEvent, StreamClosedEvent
フレームワークによって生成されるすべての
ApplicationEvent の基本クラス。オプションの原因フィールドが含まれます。Java の単一継承のため、個別の例外イベント階層は不可能です (モジュールはすべてのイベントを 'xxxIntegrationEvent' のサブクラスにする必要があります)。- 導入:
- 3.0
- 作成者:
- Gary Russell
- 関連事項:
フィールド概要
フィールドクラス EventObjectSE から継承されたフィールド
sourceSEコンストラクター概要
コンストラクターコンストラクター説明IntegrationEvent(ObjectSE source) IntegrationEvent(ObjectSE source, @Nullable ThrowableSE cause) 方法の概要
修飾子と型メソッド説明@Nullable ThrowableSEgetCause()<T> T特定の型としてソースを取得します。受信変数は正しい型で宣言する必要があります。toString()クラス ApplicationEvent から継承されたメソッド
getTimestampクラス EventObjectSE から継承されたメソッド
getSource
フィールドの詳細
cause
コンストラクターの詳細
IntegrationEvent
IntegrationEvent
方法の詳細
getCause
getSourceAsType
public <T> T getSourceAsType()特定の型としてソースを取得します。受信変数は正しい型で宣言する必要があります。- 型パラメーター:
T- 型。- 戻り値:
- ソース。
- 導入:
- 5.4
toString
- オーバーライド:
- クラス
EventObjectSEのtoString