## Uses of Class
javax.faces.lifecycle.Lifecycle

- Packages that use Lifecycle
  Package | Description
  --- | ---
  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.
  javax.faces.lifecycle | Classes and interfaces defining lifecycle management for the JavaServer Faces implementation.

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

    Methods in javax.faces.context with parameters of type Lifecycle
    Modifier and Type | Method and Description
    --- | ---
    `abstract FacesContext` | FacesContextFactory.`getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)` Create (if needed) and return a `FacesContext` instance that is initialized for the processing of the specified request and response objects, utilizing the specified `Lifecycle` instance, for this web application.

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

    Constructors in javax.faces.event with parameters of type Lifecycle
    Constructor and Description
    `PhaseEvent(FacesContext context, PhaseId phaseId, Lifecycle lifecycle)` Construct a new event object from the specified parameters.

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

    Subclasses of Lifecycle in javax.faces.lifecycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LifecycleWrapper` Provides a simple implementation of `Lifecycle` that can be subclassed by developers wishing to provide specialized behavior to an existing `Lifecycle` instance.

    Methods in javax.faces.lifecycle that return Lifecycle
    Modifier and Type | Method and Description
    --- | ---
    `abstract Lifecycle` | LifecycleFactory.`getLifecycle(String lifecycleId)` Create (if needed) and return a `Lifecycle` instance for the specified lifecycle identifier.
    `abstract Lifecycle` | LifecycleWrapper.`getWrapped()`

    Methods in javax.faces.lifecycle with parameters of type Lifecycle
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | LifecycleFactory.`addLifecycle(String lifecycleId, Lifecycle lifecycle)` Register a new `Lifecycle` instance, associated with the specified `lifecycleId`, to be supported by this `LifecycleFactory`.

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