## Uses of Interface
javax.faces.event.SystemEventListener

- Packages that use SystemEventListener
  Package | Description
  --- | ---
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.component | Fundamental APIs for user interface components.
  javax.faces.context | Classes and interfaces defining per-request state information.
  javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes.

- - ### Uses of SystemEventListener in javax.faces.application

    Methods in javax.faces.application with parameters of type SystemEventListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | ApplicationWrapper.`subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener)` The default behavior of this method is to call `Application.subscribeToEvent(Class, Class, javax.faces.event.SystemEventListener)` on the wrapped `Application` object.
    `void` | Application.`subscribeToEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener)` Install the listener instance referenced by argument `listener` into the application as a listener for events of type `systemEventClass` that originate from objects of type `sourceClass`.
    `void` | ApplicationWrapper.`subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)` The default behavior of this method is to call `Application.subscribeToEvent(Class, javax.faces.event.SystemEventListener)` on the wrapped `Application` object.
    `void` | Application.`subscribeToEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)` Install the listener instance referenced by argument `listener` into application as a listener for events of type `systemEventClass`.
    `void` | ApplicationWrapper.`unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener)` The default behavior of this method is to call `Application.unsubscribeFromEvent(Class, Class, javax.faces.event.SystemEventListener)` on the wrapped `Application` object.
    `void` | Application.`unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, Class<?> sourceClass, SystemEventListener listener)` Remove the listener instance referenced by argument `listener` from the application as a listener for events of type `systemEventClass` that originate from objects of type `sourceClass`.
    `void` | ApplicationWrapper.`unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)` The default behavior of this method is to call `Application.unsubscribeFromEvent(Class, javax.faces.event.SystemEventListener)` on the wrapped `Application` object.
    `void` | Application.`unsubscribeFromEvent(Class<? extends SystemEvent> systemEventClass, SystemEventListener listener)` Remove the listener instance referenced by argument `listener` from the application as a listener for events of type `systemEventClass`.

  - ### Uses of SystemEventListener in javax.faces.component

    Methods in javax.faces.component that return types with arguments of type SystemEventListener
    Modifier and Type | Method and Description
    --- | ---
    `List<SystemEventListener>` | UIComponentBase.`getListenersForEventClass(Class<? extends SystemEvent> eventClass)` Return the `SystemEventListener` instances registered on this `UIComponent` instance that are interested in events of type `eventClass`.
    `List<SystemEventListener>` | UIComponent.`getListenersForEventClass(Class<? extends SystemEvent> eventClass)` This implementation throws `UnsupportedOperationException` and is provided for the sole purpose of not breaking existing applications that extend this class.
    `List<SystemEventListener>` | UIViewRoot.`getViewListenersForEventClass(Class<? extends SystemEvent> systemEvent)` Return the `SystemEventListener` instances registered on this `UIComponent` instance that are interested in events of type `eventClass`.

    Methods in javax.faces.component with parameters of type SystemEventListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIViewRoot.`subscribeToViewEvent(Class<? extends SystemEvent> systemEvent, SystemEventListener listener)` Install the listener instance referenced by argument `listener` into the `UIViewRoot` as a listener for events of type `systemEventClass`.
    `void` | UIViewRoot.`unsubscribeFromViewEvent(Class<? extends SystemEvent> systemEvent, SystemEventListener listener)` Remove the listener instance referenced by argument `listener` from the `UIViewRoot` as a listener for events of type `systemEventClass`.

  - ### Uses of SystemEventListener in javax.faces.context

    Classes in javax.faces.context that implement SystemEventListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ExceptionHandler` ExceptionHandler is the central point for handling unexpected `Exception`s that are thrown during the Faces lifecycle.
    `class` | `ExceptionHandlerWrapper` Provides a simple implementation of `ExceptionHandler` that can be subclassed by developers wishing to provide specialized behavior to an existing `ExceptionHandler` instance.

  - ### Uses of SystemEventListener in javax.faces.event

    Subinterfaces of SystemEventListener in javax.faces.event
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ViewMapListener` Marker interface for `SystemEvent`s that indicate the view map has been created (`PostConstructViewMapEvent`, or destroyed (`PreDestroyViewMapEvent`).

    Methods in javax.faces.event that return types with arguments of type SystemEventListener
    Modifier and Type | Method and Description
    --- | ---
    `List<SystemEventListener>` | SystemEventListenerHolder.`getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)`
    `List<SystemEventListener>` | ExceptionQueuedEventContext.`getListenersForEventClass(Class<? extends SystemEvent> facesEventClass)` Return a `List` that contains a single entry, the `ExceptionHandler` for the current request.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.