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