Uses of Class
jakarta.faces.event.SystemEvent
-
-
Uses of SystemEvent in com.sun.faces.application
Methods in com.sun.faces.application that return types with arguments of type SystemEvent Modifier and Type Method Description Class<? extends SystemEvent>NamedEventManager. getNamedEvent(String name)Methods in com.sun.faces.application with parameters of type SystemEvent Modifier and Type Method Description voidValidateComponentNesting. 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 SystemEvent Modifier and Type Method Description voidNamedEventManager. 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 SystemEvent Modifier and Type Method Description voidAnnotationManager. 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 SystemEvent Modifier and Type Method Description voidEvents. 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 SystemEvent Modifier and Type Method Description SystemEventEventInfo. createSystemEvent(Object source)Method parameters in com.sun.faces.application.applicationimpl.events with type arguments of type SystemEvent Modifier and Type Method Description voidReentrantLisneterInvocationGuard. clearGuard(FacesContext ctx, Class<? extends SystemEvent> systemEventClass)EventInfoComponentSystemEventHelper. getEventInfo(Class<? extends SystemEvent> systemEvent, Class<?> sourceClass)EventInfoSystemEventHelper. getEventInfo(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass)EventInfoSystemEventHelper. 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 SystemEvent Constructor Description EventInfo(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 SystemEvent Modifier and Type Method Description voidViewScopeEventListener. 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 SystemEvent Modifier and Type Method Description voidAjaxExceptionHandlerImpl. 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 SystemEvent Modifier and Type Method Description voidBehaviorHolderWrapper. 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 SystemEvent Modifier and Type Method Description protected 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 SystemEvent Modifier and Type Method Description voidWebsocketFacesListener. 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 SystemEvent Modifier and Type Method Description voidApplication. 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 SystemEvent 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.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 SystemEvent Modifier and Type Method Description abstract 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.event Modifier and Type Class Description classComponentSystemEventComponentSystemEvent is the base class forSystemEvents that are specific to aUIComponentinstance.classExceptionQueuedEventThe 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.classPostAddToViewEventWhen 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.classPostConstructApplicationEventThis event must be published by the runtime after all configuration resources have been parsed and processed.classPostConstructCustomScopeEventThis class is provided to allow custom scopes to publish a "post construct" event in the same way that other scopes do to let the application become aware of the beginning of the scope.classPostConstructViewMapEventThis event must be published by a call to {jakarta.faces.application.Application#publishEvent} when the view map is first created.classPostKeepFlashValueEventThis 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.classPostPutFlashValueEventThis 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.classPostRenderViewEventWhen 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.classPostRestoreStateEventWhen 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.classPostValidateEventWhen 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.classPreClearFlashEventThis 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.classPreDestroyApplicationEventThis event must be published by the runtime before the factories associated with thisApplicationare released.classPreDestroyCustomScopeEventThis class is provided to allow custom scopes to publish a "pre construct" event in the same way that other scopes do to let the application become aware of the beginning of the scope.classPreDestroyViewMapEventThis 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().classPreRemoveFlashValueEventThis 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.classPreRemoveFromViewEventWhen 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.classPreRenderComponentEventWhen 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.classPreRenderViewEventWhen 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.classPreValidateEventWhen 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 that return types with arguments of type SystemEvent Modifier and Type Method Description Class<? extends SystemEvent>systemEventClass()The kind of system event for which this class will be installed as a listener.Methods in jakarta.faces.event with parameters of type SystemEvent Modifier and Type Method Description voidSystemEventListener. 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 SystemEvent 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)
-