Uses of Interface
jakarta.faces.event.SystemEventListener
Package
Description
-
Uses of SystemEventListener in com.sun.faces.application
Modifier and TypeClassDescriptionclass
ValidateFormComponentNesting performs component tree validation to assureActionSource
,ActionSource2
andEditableValueHolder
components are placed inside a form.Modifier and TypeMethodDescriptionvoid
ApplicationImpl.subscribeToEvent
(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) void
ApplicationImpl.subscribeToEvent
(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) void
ApplicationImpl.unsubscribeFromEvent
(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) void
ApplicationImpl.unsubscribeFromEvent
(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) -
Uses of SystemEventListener in com.sun.faces.application.applicationimpl
Modifier and TypeMethodDescriptionvoid
Events.subscribeToEvent
(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) void
Events.subscribeToEvent
(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) void
Events.unsubscribeFromEvent
(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) -
Uses of SystemEventListener in com.sun.faces.application.applicationimpl.events
-
Uses of SystemEventListener in com.sun.faces.application.view
Modifier and TypeClassDescriptionclass
The ViewScope event listener.class
The manager that deals with non-CDI and CDI ViewScoped beans. -
Uses of SystemEventListener in com.sun.faces.context
Modifier and TypeClassDescriptionclass
A specialized implementation ofExceptionHandler
for Faces that handles exceptions by writing error information to the partial response.class
class
The default implementation ofExceptionHandler
for Faces.class
A system event listener which is used to listen for changes on the component tree after restore view and before rendering out the view.class
class
An AddRemoveListener that implements the new dynamic component strategy where no state is managed by the listener itself. -
Uses of SystemEventListener in com.sun.faces.push
Modifier and TypeClassDescriptionclass
This Faces listener forUIViewRoot
ensures that the necessary JavaScript code to open or close theWebSocket
is properly rendered depending onrendered
andconnected
attributes. -
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)