public interface SystemEventListenerHolder
Classes that implement this interface agree to maintain a list of SystemEventListener instances for each kind
of SystemEvent they can generate. This interface enables arbitrary Objects to act as the source for
SystemEvent instances.
If the implementing class is a UIComponent or is referenced by a
UIComponent, care must be taken to ensure that the implementing class, and all the members of the list
returned by getListenersForEventClass(java.lang.Class<? extends jakarta.faces.event.SystemEvent>) work correctly with the state management system. One way to ensure
this is to have the class and the list members implement StateHolder or
Serializable.
| Modifier and Type | Method and Description |
|---|---|
List<SystemEventListener> |
getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
|
List<SystemEventListener> getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)
Return a List of SystemEventListener instances that have been installed into the class
implementing this interface.
facesEventClass - the class for which listeners are to be returnedCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.