Uses of Interface
jakarta.faces.event.SystemEventListener
Packages that use SystemEventListener
Package
Description
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.
Fundamental APIs for user
interface components.
Classes and interfaces
defining per-request state information.
Interfaces describing
events and event listeners, and concrete event implementation classes.
-
Uses of SystemEventListener in com.sun.faces.application
Classes in com.sun.faces.application that implement SystemEventListenerModifier and TypeClassDescriptionclassValidateFormComponentNesting performs component tree validation to assureActionSource,ActionSource2andEditableValueHoldercomponents are placed inside a form.Methods in com.sun.faces.application with parameters of type SystemEventListenerModifier and TypeMethodDescriptionvoidApplicationImpl.subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) voidApplicationImpl.subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) voidApplicationImpl.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) voidApplicationImpl.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 SystemEventListenerModifier and TypeMethodDescriptionvoidEvents.subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) voidEvents.subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) voidEvents.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 -
Uses of SystemEventListener in com.sun.faces.application.view
Classes in com.sun.faces.application.view that implement SystemEventListenerModifier and TypeClassDescriptionclassThe ViewScope event listener.classThe 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 SystemEventListenerModifier and TypeClassDescriptionclassA specialized implementation ofExceptionHandlerfor Faces that handles exceptions by writing error information to the partial response.classclassThe default implementation ofExceptionHandlerfor Faces.classA system event listener which is used to listen for changes on the component tree after restore view and before rendering out the view.classclassAn 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
Classes in com.sun.faces.push that implement SystemEventListenerModifier and TypeClassDescriptionclassThis Faces listener forUIViewRootensures that the necessary JavaScript code to open or close theWebSocketis properly rendered depending onrenderedandconnectedattributes. -
Uses of SystemEventListener in jakarta.faces.application
Methods in jakarta.faces.application with parameters of type SystemEventListenerModifier and TypeMethodDescriptionvoidApplication.subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) Install the listener instance referenced by argumentlistenerinto application as a listener for events of typesystemEventClass.voidApplication.subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) Install the listener instance referenced by argumentlistenerinto the application as a listener for events of typesystemEventClassthat originate from objects of typesourceClass.voidApplicationWrapper.subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) The default behavior of this method is to callApplication.subscribeToEvent(Class, jakarta.faces.event.SystemEventListener)on the wrappedApplicationobject.voidApplicationWrapper.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 wrappedApplicationobject.voidApplication.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) Remove the listener instance referenced by argumentlistenerfrom the application as a listener for events of typesystemEventClass.voidApplication.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener) Remove the listener instance referenced by argumentlistenerfrom the application as a listener for events of typesystemEventClassthat originate from objects of typesourceClass.voidApplicationWrapper.unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener) The default behavior of this method is to callApplication.unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener)on the wrappedApplicationobject.voidApplicationWrapper.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 wrappedApplicationobject. -
Uses of SystemEventListener in jakarta.faces.component
Methods in jakarta.faces.component that return types with arguments of type SystemEventListenerModifier and TypeMethodDescriptionUIComponent.getListenersForEventClass(Class<? extends SystemEvent> eventClass) This implementation throwsUnsupportedOperationExceptionand is provided for the sole purpose of not breaking existing applications that extend this class.UIComponentBase.getListenersForEventClass(Class<? extends SystemEvent> eventClass) Return theSystemEventListenerinstances registered on thisUIComponentinstance that are interested in events of typeeventClass.UIViewRoot.getViewListenersForEventClass(Class<? extends SystemEvent> systemEvent) Return theSystemEventListenerinstances registered on thisUIComponentinstance that are interested in events of typeeventClass.Methods in jakarta.faces.component with parameters of type SystemEventListenerModifier and TypeMethodDescriptionvoidUIViewRoot.subscribeToViewEvent(Class<? extends SystemEvent> systemEvent, SystemEventListener listener) Install the listener instance referenced by argumentlistenerinto theUIViewRootas a listener for events of typesystemEventClass.voidUIViewRoot.unsubscribeFromViewEvent(Class<? extends SystemEvent> systemEvent, SystemEventListener listener) Remove the listener instance referenced by argumentlistenerfrom theUIViewRootas a listener for events of typesystemEventClass. -
Uses of SystemEventListener in jakarta.faces.context
Classes in jakarta.faces.context that implement SystemEventListenerModifier and TypeClassDescriptionclassExceptionHandler is the central point for handling unexpectedExceptions that are thrown during the Faces lifecycle.classProvides a simple implementation ofExceptionHandlerthat can be subclassed by developers wishing to provide specialized behavior to an existingExceptionHandlerinstance. -
Uses of SystemEventListener in jakarta.faces.event
Subinterfaces of SystemEventListener in jakarta.faces.eventModifier and TypeInterfaceDescriptioninterfaceMarker interface forSystemEvents that indicate the view map has been created (PostConstructViewMapEvent, or destroyed (PreDestroyViewMapEvent).Methods in jakarta.faces.event that return types with arguments of type SystemEventListenerModifier and TypeMethodDescriptionExceptionQueuedEventContext.getListenersForEventClass(Class<? extends SystemEvent> facesEventClass) Return aListthat contains a single entry, theExceptionHandlerfor the current request.SystemEventListenerHolder.getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)