Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は主に JEE6 開発者です。asp.netでCDIイベントのFire and Forget機能を実装する方法があるかどうか知りたいです。イベント オブザーバーは、イベントに応答するための特定のデータ ペイロードを受信します。
ありがとうございました
確かに、リスナーが自分の興味を登録できるように、登録オブジェクトを常に利用できるようにする必要があります。次に、同じオブジェクトに fire メソッドがあるか、イベント オブジェクトがその fire メソッドを呼び出し、リスナーを反復処理してそのメソッドを呼び出すだけです。インターフェイスを使用してシンプルに保ちます。