public abstract class SystemEvent extends EventObjectSE
SystemEvent は、任意のオブジェクトによって起動できる非アプリケーション固有のイベントの基本クラスです。
sourceSE
コンストラクターと説明 |
---|
SystemEvent(FacesContext facesContext, ObjectSE source) 引数 |
SystemEvent(ObjectSE source) 引数 |
修飾子と型 | メソッドと説明 |
---|---|
FacesContext | getFacesContext() Faces コンテキストを取得します。 |
boolean | isAppropriateListener(FacesListener listener) |
void | processListener(FacesListener listener) 適切なメカニズムにより、このイベントインスタンスを指定された FacesListener にブロードキャストします。 |
getSourceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public SystemEvent(ObjectSE source)
引数 source
をスーパークラスコンストラクターに渡します。
source
- スーパークラスコンストラクターに渡される source
参照。IllegalArgumentExceptionSE
- 引数が null
の場合。public SystemEvent(FacesContext facesContext, ObjectSE source)
引数 source
をスーパークラスコンストラクターに渡します。
facesContext
- Faces コンテキスト。source
- スーパークラスコンストラクターに渡される source
参照。IllegalArgumentExceptionSE
- 引数が null
の場合。public FacesContext getFacesContext()
Faces コンテキストを取得します。
コンストラクターに FacesContext が渡された場合はそれを返し、そうでない場合は FacesContext.getCurrentInstance() を呼び出して返します。
public boolean isAppropriateListener(FacesListener listener)
この FacesListener
が、このイベントがサポートする適切なリスナークラスのインスタンスである場合は、true
を返します。リスナーが ComponentSystemEventListener
の場合、デフォルトの実装は true を返します。
listener
- 評価する FacesListener
public void processListener(FacesListener listener)
適切なメカニズムにより、このイベントインスタンスを指定された FacesListener
にブロードキャストします。通常、これはイベント処理メソッドを呼び出し、このインスタンスをパラメーターとして渡すことで実現されます。
listener
- この FacesEvent
を送信する FacesListener
AbortProcessingException
- Jakarta Server Faces 実装に、現在のイベントでこれ以上の処理を実行しないことを通知します Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.