Uses of Interface
jakarta.faces.event.SystemEventListener
-
Packages that use SystemEventListener Package Description jakarta.faces.application jakarta.faces.component jakarta.faces.context jakarta.faces.event -
-
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)
-