Uses of Class
jakarta.faces.event.SystemEvent
Packages that use SystemEvent
Package
Description
- 
Uses of SystemEvent in com.sun.faces.application
Methods in com.sun.faces.application that return types with arguments of type SystemEventModifier and TypeMethodDescriptionClass<? extends SystemEvent> NamedEventManager.getNamedEvent(String name) Methods in com.sun.faces.application with parameters of type SystemEventModifier and TypeMethodDescriptionvoidValidateComponentNesting.processEvent(SystemEvent event) Process PostAddToViewEvent on UIViewRoot to validate form - action/input nesting.Method parameters in com.sun.faces.application with type arguments of type SystemEventModifier and TypeMethodDescriptionvoidNamedEventManager.addDuplicateName(String name, Class<? extends SystemEvent> event) voidNamedEventManager.addNamedEvent(String name, Class<? extends SystemEvent> event) voidApplicationImpl.publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source) voidApplicationImpl.publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Object source) 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 SystemEvent in com.sun.faces.application.annotation
Methods in com.sun.faces.application.annotation with parameters of type SystemEventModifier and TypeMethodDescriptionvoidAnnotationManager.applySystemEventAnnotations(FacesContext ctx, SystemEvent e)  - 
Uses of SystemEvent in com.sun.faces.application.applicationimpl
Method parameters in com.sun.faces.application.applicationimpl with type arguments of type SystemEventModifier and TypeMethodDescriptionvoidEvents.publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source, ProjectStage projectStage) 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 SystemEvent in com.sun.faces.application.applicationimpl.events
Methods in com.sun.faces.application.applicationimpl.events that return SystemEventMethod parameters in com.sun.faces.application.applicationimpl.events with type arguments of type SystemEventModifier and TypeMethodDescriptionvoidReentrantLisneterInvocationGuard.clearGuard(FacesContext ctx, Class<? extends SystemEvent> systemEventClass) ComponentSystemEventHelper.getEventInfo(Class<? extends SystemEvent> systemEvent, Class<?> sourceClass) SystemEventHelper.getEventInfo(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass) SystemEventHelper.getEventInfo(Class<? extends SystemEvent> systemEventClass, Object source, Class<?> sourceBaseType, boolean useSourceForLookup) booleanReentrantLisneterInvocationGuard.isGuardSet(FacesContext ctx, Class<? extends SystemEvent> systemEventClass) voidReentrantLisneterInvocationGuard.setGuard(FacesContext ctx, Class<? extends SystemEvent> systemEventClass) Constructor parameters in com.sun.faces.application.applicationimpl.events with type arguments of type SystemEventModifierConstructorDescriptionEventInfo(Class<? extends SystemEvent> systemEvent, Class<?> sourceClass) SystemEventInfo(Class<? extends SystemEvent> systemEvent)  - 
Uses of SystemEvent in com.sun.faces.application.view
Methods in com.sun.faces.application.view with parameters of type SystemEventModifier and TypeMethodDescriptionvoidViewScopeEventListener.processEvent(SystemEvent se) Handle the system event.voidViewScopeManager.processEvent(SystemEvent systemEvent) Process the system event. - 
Uses of SystemEvent in com.sun.faces.context
Methods in com.sun.faces.context with parameters of type SystemEventModifier and TypeMethodDescriptionvoidAjaxExceptionHandlerImpl.processEvent(SystemEvent event) voidExceptionHandlerImpl.processEvent(SystemEvent event)  - 
Uses of SystemEvent in com.sun.faces.facelets.tag.composite
Method parameters in com.sun.faces.facelets.tag.composite with type arguments of type SystemEventModifier and TypeMethodDescriptionvoidBehaviorHolderWrapper.subscribeToEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) voidBehaviorHolderWrapper.unsubscribeFromEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener)  - 
Uses of SystemEvent in com.sun.faces.facelets.tag.faces.core
Methods in com.sun.faces.facelets.tag.faces.core that return types with arguments of type SystemEventModifier and TypeMethodDescriptionprotected Class<? extends SystemEvent> EventHandler.getEventClass(FaceletContext ctx)  - 
Uses of SystemEvent in com.sun.faces.push
Methods in com.sun.faces.push with parameters of type SystemEventModifier and TypeMethodDescriptionvoidWebsocketFacesListener.processEvent(SystemEvent event) If the websocket has just switched itsrenderedorconnectedattribute, then render either theopen()script or theclose()script. - 
Uses of SystemEvent in jakarta.faces.application
Method parameters in jakarta.faces.application with type arguments of type SystemEventModifier and TypeMethodDescriptionvoidApplication.publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source) This method functions exactly likeApplication.publishEvent(FacesContext,Class,Object), except the run-time must use the argumentsourceBaseTypeto find the matching listener instead of using theClassof thesourceargument.voidApplication.publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Object source) IfFacesContext.isProcessingEvents()istrueand there are one or more listeners for events of the type represented bysystemEventClass, call those listeners, passingsourceas the source of the event.voidApplicationWrapper.publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source) The default behavior of this method is to callApplication.publishEvent(jakarta.faces.context.FacesContext, Class, Class, Object)on the wrappedApplicationobject.voidApplicationWrapper.publishEvent(FacesContext context, Class<? extends SystemEvent> systemEventClass, Object source) The default behavior of this method is to callApplication.publishEvent(jakarta.faces.context.FacesContext, Class, Object)on the wrappedApplicationobject.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 SystemEvent in jakarta.faces.component
Method parameters in jakarta.faces.component with type arguments of type SystemEventModifier 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.voidUIComponent.subscribeToEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) This implementation throwsUnsupportedOperationExceptionand is provided for the sole purpose of not breaking existing applications that extend this class.voidUIComponentBase.subscribeToEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) Install the listener instance referenced by argumentcomponentListeneras a listener for events of typeeventClassoriginating from this specific instance ofUIComponent.voidUIViewRoot.subscribeToViewEvent(Class<? extends SystemEvent> systemEvent, SystemEventListener listener) Install the listener instance referenced by argumentlistenerinto theUIViewRootas a listener for events of typesystemEventClass.voidUIComponent.unsubscribeFromEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) This implementation throwsUnsupportedOperationExceptionand is provided for the sole purpose of not breaking existing applications that extend this class.voidUIComponentBase.unsubscribeFromEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) Remove the listener instance referenced by argumentcomponentListeneras a listener for events of typeeventClassoriginating from this specific instance ofUIComponent.voidUIViewRoot.unsubscribeFromViewEvent(Class<? extends SystemEvent> systemEvent, SystemEventListener listener) Remove the listener instance referenced by argumentlistenerfrom theUIViewRootas a listener for events of typesystemEventClass. - 
Uses of SystemEvent in jakarta.faces.context
Methods in jakarta.faces.context with parameters of type SystemEventModifier and TypeMethodDescriptionabstract voidExceptionHandler.processEvent(SystemEvent exceptionQueuedEvent) When called, the listener can assume that any guarantees given in the javadoc for the specificSystemEventsubclass are true.voidExceptionHandlerWrapper.processEvent(SystemEvent event) The default behavior of this method is to callExceptionHandler.processEvent(jakarta.faces.event.SystemEvent)on the wrappedExceptionHandlerobject. - 
Uses of SystemEvent in jakarta.faces.event
Subclasses of SystemEvent in jakarta.faces.eventModifier and TypeClassDescriptionclassComponentSystemEvent is the base class forSystemEvents that are specific to aUIComponentinstance.classThe system event facility will create an instance of this class wheneverApplication.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)is called withExceptionQueuedEvent.classassystemEventClassargument.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is aUIComponentinstance and that either that instance or an ancestor of that instance was just added to the view.classThis event must be published by the runtime after all configuration resources have been parsed and processed.classDeprecated, for removal: This API element is subject to removal in a future version.classThis event must be published by a call to {jakarta.faces.application.Application#publishEvent} when the view map is first created.classThis event must be published by a call toApplication.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)when a value is kept in the flash.classThis event must be published by a call toApplication.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)when a value is stored in the flash.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is theUIViewRootinstance that has just been rendered.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is in a tree that has just had its state restored.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is theUIComponentinstance that is that has just been validated.classThis event must be published by a call toApplication.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)before the flash is cleared.classThis event must be published by the runtime before the factories associated with thisApplicationare released.classDeprecated, for removal: This API element is subject to removal in a future version.becauseCustomScopehas been removed from Faces in favor of CDI.classThis event must be published by a call toApplication.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)when theclearmethod is called on the map returned fromUIViewRoot.getViewMap().classThis event must be published by a call toApplication.publishEvent(jakarta.faces.context.FacesContext, java.lang.Class<? extends jakarta.faces.event.SystemEvent>, java.lang.Object)when a value is removed from the flash.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is aUIComponentinstance that is about to be removed from the view.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is theUIComponentinstance that is about to be rendered and that it is safe to callUIComponent.getParent(),UIComponent.getClientId(), and other methods that depend upon the component instance being in the view.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is theUIViewRootinstance that is about to be rendered.classWhen an instance of this event is passed toSystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is theUIComponentinstance that is about to be validated.Methods in jakarta.faces.event with parameters of type SystemEventModifier and TypeMethodDescriptionvoidSystemEventListener.processEvent(SystemEvent event) When called, the listener can assume that any guarantees given in the javadoc for the specificSystemEventsubclass are true.Method parameters in jakarta.faces.event with type arguments of type SystemEventModifier and TypeMethodDescriptionExceptionQueuedEventContext.getListenersForEventClass(Class<? extends SystemEvent> facesEventClass) Return aListthat contains a single entry, theExceptionHandlerfor the current request.SystemEventListenerHolder.getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)  
CustomScopehas been removed from Faces in favor of CDI.