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

- Packages that use PhaseListener
  Package | Description
  --- | ---
  javax.faces.component | Fundamental APIs for user interface components.
  javax.faces.lifecycle | Classes and interfaces defining lifecycle management for the JavaServer Faces implementation.

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

    Methods in javax.faces.component that return types with arguments of type PhaseListener
    Modifier and Type | Method and Description
    --- | ---
    `List<PhaseListener>` | UIViewRoot.`getPhaseListeners()` Return an unmodifiable list of the `PhaseListener` instances attached to this `UIViewRoot` instance.

    Methods in javax.faces.component with parameters of type PhaseListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIViewRoot.`addPhaseListener(PhaseListener newPhaseListener)` Add the argument `newPhaseListener` to the list of `PhaseListener`s on this `UIViewRoot`.
    `void` | UIViewRoot.`removePhaseListener(PhaseListener toRemove)` If the argument `toRemove` is in the list of `PhaseListener`s for this instance, it must be removed.

  - ### Uses of PhaseListener in javax.faces.lifecycle

    Methods in javax.faces.lifecycle that return PhaseListener
    Modifier and Type | Method and Description
    --- | ---
    `PhaseListener[]` | LifecycleWrapper.`getPhaseListeners()`
    `abstract PhaseListener[]` | Lifecycle.`getPhaseListeners()` Return the set of registered `PhaseListener`s for this `Lifecycle` instance.

    Methods in javax.faces.lifecycle with parameters of type PhaseListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | LifecycleWrapper.`addPhaseListener(PhaseListener listener)`
    `abstract void` | Lifecycle.`addPhaseListener(PhaseListener listener)` Register a new `PhaseListener` instance that is interested in being notified before and after the processing for standard phases of the request processing lifecycle.
    `void` | LifecycleWrapper.`removePhaseListener(PhaseListener listener)`
    `abstract void` | Lifecycle.`removePhaseListener(PhaseListener listener)` Deregister an existing `PhaseListener` instance that is no longer interested in being notified before and after the processing for standard phases of the request processing lifecycle.

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