Uses of Interface
jakarta.faces.event.SystemEventListener
-
Uses of SystemEventListener in com.sun.faces.application
Classes in com.sun.faces.application that implement SystemEventListener Modifier and Type Class Description class
ValidateComponentNesting
ValidateFormComponentNesting performs component tree validation to assureActionSource
,ActionSource2
andEditableValueHolder
components are placed inside a form.Methods in com.sun.faces.application with parameters of type SystemEventListener Modifier and Type Method Description void
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
Methods in com.sun.faces.application.applicationimpl with parameters of type SystemEventListener Modifier and Type Method Description void
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
Methods in com.sun.faces.application.applicationimpl.events that return types with arguments of type SystemEventListener Modifier and Type Method Description Set<SystemEventListener>
EventInfo. getListeners()
-
Uses of SystemEventListener in com.sun.faces.application.view
Classes in com.sun.faces.application.view that implement SystemEventListener Modifier and Type Class Description class
ViewScopeEventListener
The ViewScope event listener.class
ViewScopeManager
The manager that deals with non-CDI and CDI ViewScoped beans. -
Uses of SystemEventListener in com.sun.faces.context
Classes in com.sun.faces.context that implement SystemEventListener Modifier and Type Class Description class
AjaxExceptionHandlerImpl
A specialized implementation ofExceptionHandler
for Faces that handles exceptions by writing error information to the partial response.class
AjaxNoAjaxExceptionHandler
class
ExceptionHandlerImpl
The default implementation ofExceptionHandler
for Faces.class
StateContext.DynamicAddRemoveListener
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
StateContext.NoopAddRemoveListener
class
StateContext.StatelessAddRemoveListener
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.mgbean
Classes in com.sun.faces.mgbean that implement SystemEventListener Modifier and Type Class Description class
BeanManager
Main interface for dealing with Faces managed beans -
Uses of SystemEventListener in com.sun.faces.push
Classes in com.sun.faces.push that implement SystemEventListener Modifier and Type Class Description class
WebsocketFacesListener
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
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)