Uses of Interface
jakarta.faces.event.SystemEventListener
Package
Description
-
Uses of SystemEventListener in jakarta.faces.application
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionUIComponent.getListenersForEventClass
(Class<? extends SystemEvent> eventClass) This implementation throwsUnsupportedOperationException
and is provided for the sole purpose of not breaking existing applications that extend this class.UIComponentBase.getListenersForEventClass
(Class<? extends SystemEvent> eventClass) Return theSystemEventListener
instances registered on thisUIComponent
instance that are interested in events of typeeventClass
.UIViewRoot.getViewListenersForEventClass
(Class<? extends SystemEvent> systemEvent) Return theSystemEventListener
instances registered on thisUIComponent
instance that are interested in events of typeeventClass
.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeClassDescriptionclass
ExceptionHandler is the central point for handling unexpectedException
s that are thrown during the Faces lifecycle.class
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
Modifier and TypeInterfaceDescriptioninterface
Marker interface forSystemEvent
s that indicate the view map has been created (PostConstructViewMapEvent
, or destroyed (PreDestroyViewMapEvent
).Modifier and TypeMethodDescriptionExceptionQueuedEventContext.getListenersForEventClass
(Class<? extends SystemEvent> facesEventClass) Return aList
that contains a single entry, theExceptionHandler
for the current request.SystemEventListenerHolder.getListenersForEventClass
(Class<? extends SystemEvent> facesEventClass)