インターフェースの使用
jakarta.el.ELContextListener
ELContextListener を使用するパッケージ パッケージ 説明 jakarta.faces.application jakarta.servlet.jsp jakarta.faces.application 内の ELContextListener 使用
ELContextListener を返す jakarta.faces.application のメソッド 修飾子と型 メソッド 説明 ELContextListener[]Application. getELContextListeners()Application.addELContextListener(jakarta.el.ELContextListener)が呼び出されていない場合、このメソッドは空の配列を返す必要があります。ELContextListener[]ApplicationWrapper. getELContextListeners()このメソッドのデフォルトの動作は、ラップされたApplicationオブジェクトでApplication.getELContextListeners()を呼び出すことです。型 ELContextListener のパラメーターを持つ jakarta.faces.application のメソッド 修飾子と型 メソッド 説明 voidApplication. addELContextListener(ELContextListener listener)Faces アプリケーションがELContextインスタンスの作成時に通知されるELContextListenerを登録する方法を提供します。voidApplicationWrapper. addELContextListener(ELContextListener listener)このメソッドのデフォルトの動作は、ラップされたApplicationオブジェクトでApplication.addELContextListener(jakarta.el.ELContextListener)を呼び出すことです。voidApplication. removeELContextListener(ELContextListener listener)ELContextListenerのリストから引数listenerを削除します。voidApplicationWrapper. removeELContextListener(ELContextListener listener)このメソッドのデフォルトの動作は、ラップされたApplicationオブジェクトでApplication.removeELContextListener(jakarta.el.ELContextListener)を呼び出すことです。jakarta.servlet.jsp 内の ELContextListener 使用
型 ELContextListener のパラメーターを持つ jakarta.servlet.jsp のメソッド 修飾子と型 メソッド 説明 voidJspApplicationContext. addELContextListener(ELContextListener listener)新しいELContextが作成されるたびにコンテキストオブジェクトを追加できるように、ELContextListenerを登録します。