public abstract class IntegrationEvent extends ApplicationEvent
ApplicationEvent の基本クラス。オプションの原因フィールドが含まれます。Java の単一継承のため、個別の例外イベント階層は不可能です (モジュールはすべてのイベントを 'xxxIntegrationEvent' のサブクラスにする必要があります)。| 修飾子と型 | フィールドと説明 |
|---|---|
protected ThrowableSE | cause |
sourceSE| コンストラクターと説明 |
|---|
IntegrationEvent(ObjectSE source) |
IntegrationEvent(ObjectSE source, ThrowableSE cause) |
| 修飾子と型 | メソッドと説明 |
|---|---|
ThrowableSE | getCause() |
<T> T | getSourceAsType() 特定の型としてソースを取得します。受信変数は正しい型で宣言する必要があります。 |
StringSE | toString() |
getTimestampgetSourceSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEprotected final ThrowableSE cause
public IntegrationEvent(ObjectSE source)
public IntegrationEvent(ObjectSE source, @Nullable ThrowableSE cause)
public ThrowableSE getCause()
public <T> T getSourceAsType()
T - 型。public StringSE toString()
EventObjectSE の toStringSE