Uses of Interface
jakarta.faces.event.SystemEventListener
-
Packages that use SystemEventListener Package Description jakarta.faces.application APIs that are used to link an application's business logic objects to Jakarta Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on Jakarta Faces.jakarta.faces.component Fundamental APIs for user interface components.jakarta.faces.context Classes and interfaces defining per-request state information.jakarta.faces.event Interfaces describing events and event listeners, and concrete event implementation classes. -
-
Uses of SystemEventListener in jakarta.faces.application
Methods in jakarta.faces.application with parameters of type SystemEventListener Modifier and Type Method Description void
Application. subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)
Install the listener instance referenced by argumentlistener
into application as a listener for events of typesystemEventClass
.void
Application. subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass, java.lang.Class<?> sourceClass, SystemEventListener listener)
Install the listener instance referenced by argumentlistener
into the application as a listener for events of typesystemEventClass
that originate from objects of typesourceClass
.void
ApplicationWrapper. subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)
The default behavior of this method is to callApplication.subscribeToEvent(Class, jakarta.faces.event.SystemEventListener)
on the wrappedApplication
object.void
ApplicationWrapper. subscribeToEvent(java.lang.Class<? extends SystemEvent> systemEventClass, java.lang.Class<?> sourceClass, SystemEventListener listener)
The default behavior of this method is to callApplication.subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener)
on the wrappedApplication
object.void
Application. unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)
Remove the listener instance referenced by argumentlistener
from the application as a listener for events of typesystemEventClass
.void
Application. unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass, java.lang.Class<?> sourceClass, SystemEventListener listener)
Remove the listener instance referenced by argumentlistener
from the application as a listener for events of typesystemEventClass
that originate from objects of typesourceClass
.void
ApplicationWrapper. unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)
The default behavior of this method is to callApplication.unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener)
on the wrappedApplication
object.void
ApplicationWrapper. unsubscribeFromEvent(java.lang.Class<? extends SystemEvent> systemEventClass, java.lang.Class<?> sourceClass, SystemEventListener listener)
The default behavior of this method is to callApplication.unsubscribeFromEvent(Class, Class, jakarta.faces.event.SystemEventListener)
on the wrappedApplication
object. -
Uses of SystemEventListener in jakarta.faces.component
Methods in jakarta.faces.component that return types with arguments of type SystemEventListener Modifier and Type Method Description java.util.List<SystemEventListener>
UIComponent. getListenersForEventClass(java.lang.Class<? extends SystemEvent> eventClass)
This implementation throwsUnsupportedOperationException
and is provided for the sole purpose of not breaking existing applications that extend this class.java.util.List<SystemEventListener>
UIComponentBase. getListenersForEventClass(java.lang.Class<? extends SystemEvent> eventClass)
Return theSystemEventListener
instances registered on thisUIComponent
instance that are interested in events of typeeventClass
.java.util.List<SystemEventListener>
UIViewRoot. getViewListenersForEventClass(java.lang.Class<? extends SystemEvent> systemEvent)
Return theSystemEventListener
instances registered on thisUIComponent
instance that are interested in events of typeeventClass
.Methods in jakarta.faces.component with parameters of type SystemEventListener Modifier and Type Method Description void
UIViewRoot. subscribeToViewEvent(java.lang.Class<? extends SystemEvent> systemEvent, SystemEventListener listener)
Install the listener instance referenced by argumentlistener
into theUIViewRoot
as a listener for events of typesystemEventClass
.void
UIViewRoot. unsubscribeFromViewEvent(java.lang.Class<? extends SystemEvent> systemEvent, SystemEventListener listener)
Remove the listener instance referenced by argumentlistener
from theUIViewRoot
as a listener for events of typesystemEventClass
. -
Uses of SystemEventListener in jakarta.faces.context
Classes in jakarta.faces.context that implement SystemEventListener Modifier and Type Class Description class
ExceptionHandler
ExceptionHandler is the central point for handling unexpectedException
s that are thrown during the Faces lifecycle.class
ExceptionHandlerWrapper
Provides a simple implementation ofExceptionHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingExceptionHandler
instance. -
Uses of SystemEventListener in jakarta.faces.event
Subinterfaces of SystemEventListener in jakarta.faces.event Modifier and Type Interface Description interface
ViewMapListener
Marker interface forSystemEvent
s that indicate the view map has been created (PostConstructViewMapEvent
, or destroyed (PreDestroyViewMapEvent
).Methods in jakarta.faces.event that return types with arguments of type SystemEventListener Modifier and Type Method Description java.util.List<SystemEventListener>
ExceptionQueuedEventContext. getListenersForEventClass(java.lang.Class<? extends SystemEvent> facesEventClass)
Return aList
that contains a single entry, theExceptionHandler
for the current request.java.util.List<SystemEventListener>
SystemEventListenerHolder. getListenersForEventClass(java.lang.Class<? extends SystemEvent> facesEventClass)
-