Uses of Interface
jakarta.faces.event.SystemEventListener
-
Packages that use SystemEventListener Package Description jakarta.faces.application jakarta.faces.component jakarta.faces.context jakarta.faces.event -
-
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(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(Class<? extends SystemEvent> systemEventClass, 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(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(Class<? extends SystemEvent> systemEventClass, 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(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(Class<? extends SystemEvent> systemEventClass, 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(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(Class<? extends SystemEvent> systemEventClass, 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 List<SystemEventListener>
UIComponent. getListenersForEventClass(Class<? extends SystemEvent> eventClass)
This implementation throwsUnsupportedOperationException
and is provided for the sole purpose of not breaking existing applications that extend this class.List<SystemEventListener>
UIComponentBase. getListenersForEventClass(Class<? extends SystemEvent> eventClass)
Return theSystemEventListener
instances registered on thisUIComponent
instance that are interested in events of typeeventClass
.List<SystemEventListener>
UIViewRoot. getViewListenersForEventClass(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(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(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 List<SystemEventListener>
ExceptionQueuedEventContext. getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
Return aList
that contains a single entry, theExceptionHandler
for the current request.List<SystemEventListener>
SystemEventListenerHolder. getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
-