Uses of Interface
jakarta.faces.event.SystemEventListener
-
Packages that use SystemEventListener Package Description com.sun.faces.application com.sun.faces.application.applicationimpl com.sun.faces.application.applicationimpl.events com.sun.faces.application.view com.sun.faces.context com.sun.faces.push jakarta.faces.application 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.jakarta.faces.component Fundamental APIs for user interface components.jakarta.faces.context Classes and interfaces defining per-request state information.jakarta.faces.event 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 SystemEventListener Modifier and Type Class Description classValidateComponentNestingValidateFormComponentNesting performs component tree validation to assureActionSource,ActionSource2andEditableValueHoldercomponents are placed inside a form.Methods in com.sun.faces.application with parameters of type SystemEventListener Modifier and Type Method Description voidApplicationImpl. 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 SystemEventListener Modifier and Type Method Description voidEvents. 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 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 classViewScopeEventListenerThe ViewScope event listener.classViewScopeManagerThe 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 classAjaxExceptionHandlerImplA specialized implementation ofExceptionHandlerfor Faces that handles exceptions by writing error information to the partial response.classAjaxNoAjaxExceptionHandlerclassExceptionHandlerImplThe default implementation ofExceptionHandlerfor Faces.classStateContext.DynamicAddRemoveListenerA system event listener which is used to listen for changes on the component tree after restore view and before rendering out the view.classStateContext.NoopAddRemoveListenerclassStateContext.StatelessAddRemoveListenerAn 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 SystemEventListener Modifier and Type Class Description classWebsocketFacesListenerThis 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 SystemEventListener Modifier and Type Method Description voidApplication. 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 SystemEventListener Modifier and Type Method Description List<SystemEventListener>UIComponent. getListenersForEventClass(Class<? extends SystemEvent> eventClass)This implementation throwsUnsupportedOperationExceptionand is provided for the sole purpose of not breaking existing applications that extend this class.List<SystemEventListener>UIComponentBase. getListenersForEventClass(Class<? extends SystemEvent> eventClass)Return theSystemEventListenerinstances registered on thisUIComponentinstance that are interested in events of typeeventClass.List<SystemEventListener>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 SystemEventListener Modifier and Type Method Description voidUIViewRoot. 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 SystemEventListener Modifier and Type Class Description classExceptionHandlerExceptionHandler is the central point for handling unexpectedExceptions that are thrown during the Faces lifecycle.classExceptionHandlerWrapperProvides 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.event Modifier and Type Interface Description interfaceViewMapListenerMarker 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 SystemEventListener Modifier and Type Method Description List<SystemEventListener>ExceptionQueuedEventContext. getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)Return aListthat contains a single entry, theExceptionHandlerfor the current request.List<SystemEventListener>SystemEventListenerHolder. getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
-