-
- All Superinterfaces:
- EventListener, FacesListener
- All Known Subinterfaces:
- ViewMapListener
- All Known Implementing Classes:
- ExceptionHandler, ExceptionHandlerWrapper
public interface SystemEventListener extends FacesListener
By implementing this class, an object indicates that it is a listener for one or more kinds of
SystemEvent
s. The exact type of event that will cause the implementing class'sprocessEvent(javax.faces.event.SystemEvent)
method to be called is indicated by thefacesEventClass
argument passed when the listener is installed usingApplication.subscribeToEvent(java.lang.Class<? extends javax.faces.event.SystemEvent>, java.lang.Class<?>, javax.faces.event.SystemEventListener)
.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description boolean
isListenerForSource(Object source)
This method must returntrue
if and only if this listener instance is interested in receiving events from the instance referenced by thesource
parameter.void
processEvent(SystemEvent event)
When called, the listener can assume that any guarantees given in the javadoc for the specificSystemEvent
subclass are true.
-
-
-
Method Detail
-
processEvent
void processEvent(SystemEvent event) throws AbortProcessingException
When called, the listener can assume that any guarantees given in the javadoc for the specific
SystemEvent
subclass are true.- Parameters:
event
- theSystemEvent
instance that is being processed.- Throws:
AbortProcessingException
- if lifecycle processing should cease for this request.
-
isListenerForSource
boolean isListenerForSource(Object source)
This method must return
true
if and only if this listener instance is interested in receiving events from the instance referenced by thesource
parameter.- Parameters:
source
- the source that is inquiring about the appropriateness of sending an event to this listener instance.
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/event/systemeventlistener.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.