パッケージ | 説明 |
---|---|
org.springframework.context | このパッケージは、beans パッケージに基づいて構築され、メッセージソースと Observer デザインパターンのサポート、および一貫性のある API を使用してリソースを取得するアプリケーションオブジェクトの機能を追加します。 |
org.springframework.context.event | 標準コンテキストイベントなどのアプリケーションイベントのサポートクラス。 |
org.springframework.context.support | ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。 |
org.springframework.messaging.simp.broker | 「単純な」メッセージブローカの実装を、抽象基本クラスおよびサブスクリプションのレジストリなどの他のサポート型とともに提供します。 |
org.springframework.messaging.simp.user | 「ユーザー」宛先へのメッセージの処理のサポート(つまり |
org.springframework.test.context | このパッケージには Spring TestContext フレームワークが含まれており、使用中の実際のテストフレームワークにとらわれないアノテーション駆動型ユニットおよび統合テストのサポートを提供します。 |
org.springframework.test.context.event | Spring TestContext フレームワークのテストイベントサポートクラス。 |
org.springframework.web.context.support | WebApplicationContext 実装やさまざまなユーティリティクラスなど、 org.springframework.web.context パッケージをサポートするクラス。 |
org.springframework.web.socket.messaging | Spring のメッセージングモジュール用の WebSocket 統合。 |
修飾子と型 | インターフェースと説明 |
---|---|
interface | ApplicationListener<E extends ApplicationEvent> アプリケーションイベントリスナーによって実装されるインターフェース。 |
修飾子と型 | クラスと説明 |
---|---|
class | PayloadApplicationEvent<T> 任意のペイロードを運ぶ ApplicationEvent 。 |
修飾子と型 | メソッドと説明 |
---|---|
default void | ApplicationEventPublisher.publishEvent(ApplicationEvent event) このアプリケーションに登録されているすべての一致するリスナーにアプリケーションイベントを通知します。 |
修飾子と型 | クラスと説明 |
---|---|
class | ApplicationContextEvent ApplicationContext に対して発生したイベントの基本クラス。 |
class | ContextClosedEvent ApplicationContext が閉じられたときに発生するイベント。 |
class | ContextRefreshedEvent ApplicationContext が初期化またはリフレッシュされるときに発生するイベント。 |
class | ContextStartedEvent ApplicationContext が開始されるときに発生するイベント。 |
class | ContextStoppedEvent ApplicationContext が停止したときに発生するイベント。 |
修飾子と型 | メソッドと説明 |
---|---|
protected CollectionSE<ApplicationListener<?>> | AbstractApplicationEventMulticaster.getApplicationListeners(ApplicationEvent event, ResolvableType eventType) 指定されたイベント型に一致する ApplicationListeners のコレクションを返します。 |
protected void | SimpleApplicationEventMulticaster.invokeListener(ApplicationListener<?> listener, ApplicationEvent event) 指定されたイベントで指定されたリスナーを呼び出します。 |
void | SimpleApplicationEventMulticaster.multicastEvent(ApplicationEvent event) |
void | ApplicationEventMulticaster.multicastEvent(ApplicationEvent event) 指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。 |
void | SimpleApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) |
void | ApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) 指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。 |
void | ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationEvent event) |
void | SourceFilteringListener.onApplicationEvent(ApplicationEvent event) |
void | GenericApplicationListenerAdapter.onApplicationEvent(ApplicationEvent event) |
protected void | SourceFilteringListener.onApplicationEventInternal(ApplicationEvent event) 目的のイベントソースに従ってすでにフィルタリングした後、実際にイベントを処理します。 |
void | ApplicationListenerMethodAdapter.processEvent(ApplicationEvent event) 指定された ApplicationEvent を処理し、条件が一致するかどうかを確認し、null 以外の結果があればそれを処理します。 |
protected ObjectSE[] | ApplicationListenerMethodAdapter.resolveArguments(ApplicationEvent event) 指定された ApplicationEvent に使用するメソッド引数を解決します。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | SmartApplicationListener.supportsEventType(ClassSE<? extends ApplicationEvent> eventType) このリスナーが特定のイベント型を実際にサポートしているかどうかを判断します。 |
boolean | SourceFilteringListener.supportsEventType(ClassSE<? extends ApplicationEvent> eventType) |
boolean | GenericApplicationListenerAdapter.supportsEventType(ClassSE<? extends ApplicationEvent> eventType) |
修飾子と型 | メソッドと説明 |
---|---|
void | AbstractApplicationContext.publishEvent(ApplicationEvent event) 指定されたイベントをすべてのリスナーに公開します。 |
修飾子と型 | クラスと説明 |
---|---|
class | BrokerAvailabilityEvent ブローカーの可用性が変化したときに発生するイベント。 |
修飾子と型 | メソッドと説明 |
---|---|
void | MultiServerUserRegistry.onApplicationEvent(ApplicationEvent event) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | MultiServerUserRegistry.supportsEventType(ClassSE<? extends ApplicationEvent> eventType) |
修飾子と型 | メソッドと説明 |
---|---|
default void | TestContext.publishEvent(FunctionSE<TestContext,? extends ApplicationEvent> eventFactory) |
修飾子と型 | クラスと説明 |
---|---|
class | AfterTestClassEvent |
class | AfterTestExecutionEvent |
class | AfterTestMethodEvent |
class | BeforeTestClassEvent |
class | BeforeTestExecutionEvent |
class | BeforeTestMethodEvent |
class | PrepareTestInstanceEvent |
class | TestContextEvent EventPublishingTestExecutionListener によって発行されたイベントの基本クラス。 |
修飾子と型 | クラスと説明 |
---|---|
class | RequestHandledEvent リクエストが ApplicationContext 内で処理されるときに発生するイベント。 |
class | ServletRequestHandledEvent RequestHandledEvent のサーブレット固有のサブクラス。サーブレット固有のコンテキスト情報を追加します。 |
修飾子と型 | クラスと説明 |
---|---|
class | AbstractSubProtocolEvent WebSocket クライアントから受信され、上位レベルのサブプロトコルに解析されたメッセージのイベントの基本クラス(例: |
class | SessionConnectedEvent connected イベントは、クライアントの接続リクエストに対するサーバーのレスポンスを表します。 |
class | SessionConnectEvent 新しい WebSocket クライアントがシンプルメッセージングプロトコル(例: |
class | SessionDisconnectEvent シンプルメッセージングプロトコルを使用する WebSocket クライアントのセッション(たとえば |
class | SessionSubscribeEvent 新しい WebSocket クライアントがシンプルメッセージングプロトコル(例: |
class | SessionUnsubscribeEvent 新しい WebSocket クライアントがシンプルメッセージングプロトコル(例: |
修飾子と型 | メソッドと説明 |
---|---|
void | DefaultSimpUserRegistry.onApplicationEvent(ApplicationEvent event) |
修飾子と型 | メソッドと説明 |
---|---|
boolean | DefaultSimpUserRegistry.supportsEventType(ClassSE<? extends ApplicationEvent> eventType) |