# Package 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.

See: Description

- Class Summary
  Class | Description
  --- | ---
  Application | Application represents a per-web-application singleton object where applications based on JavaServer Faces (or implementations wishing to provide extended functionality) can register application-wide singletons that provide functionality required by JavaServer Faces.
  ApplicationConfigurationPopulator | This class defines a `java.util.ServiceLoader` service which enables programmatic configuration of the JSF runtime using the existing Application Configuration Resources schema.
  ApplicationFactory | ApplicationFactory is a factory object that creates (if needed) and returns `Application` instances.
  ApplicationWrapper | Provides a simple implementation of `Application` that can be subclassed by developers wishing to provide specialized behavior to an existing `Application` instance.
  ConfigurableNavigationHandler | ConfigurableNavigationHandler extends the contract of `NavigationHandler` to allow runtime inspection of the `NavigationCase`s that make up the rule-base for navigation.
  ConfigurableNavigationHandlerWrapper | Provides a simple implementation of `ConfigurableNavigationHandler` that can be subclassed by developers wishing to provide specialized behavior to an existing `ConfigurableNavigationHandler` instance.
  FacesMessage | FacesMessage represents a single validation (or other) message, which is typically associated with a particular component in the view.
  FacesMessage.Severity | Class used to represent message severity levels in a typesafe enumeration.
  NavigationCase | NavigationCase represents a `<navigation-case>` in the navigation rule base, as well as the `<from-view-id>` with which this `<navigation-case>` is a sibling.
  NavigationCaseWrapper | Provides a simple implementation of `NavigationCase` that can be subclassed by developers wishing to provide specialized behavior to an existing `NavigationCase` instance.
  NavigationHandler | A NavigationHandler is passed the outcome string returned by an application action invoked for this application, and will use this (along with related state information) to choose the view to be displayed next.
  NavigationHandlerWrapper | NavigationHandlerWrapper provides a simple implementation of `NavigationHandler` that can be subclassed by developers wishing to provide specialized behavior to an existing `NavigationHandler` instance.
  Resource | An instance of `Resource` is a Java object representation of the artifact that is served up in response to a resource request from the client.
  ResourceHandler | ResourceHandler is the run-time API by which `UIComponent` and `Renderer` instances, and the `ViewDeclarationLanguage` can reference `Resource` instances. An implementation of this class must be thread-safe.
  ResourceHandlerWrapper | Provides a simple implementation of `ResourceHandler` that can be subclassed by developers wishing to provide specialized behavior to an existing `ResourceHandler` instance.
  ResourceWrapper | Provides a simple implementation of `Resource` that can be subclassed by developers wishing to provide specialized behavior to an existing `Resource` instance.
  StateManager | StateManager directs the process of saving and restoring the view between requests.
  StateManagerWrapper | Provides a simple implementation of `StateManager` that can be subclassed by developers wishing to provide specialized behavior to an existing `StateManager` instance.
  ViewHandler | ViewHandler is the pluggablity mechanism for allowing implementations of or applications using the JavaServer Faces specification to provide their own handling of the activities in the Render Response and Restore View phases of the request processing lifecycle.
  ViewHandlerWrapper | Provides a simple implementation of `ViewHandler` that can be subclassed by developers wishing to provide specialized behavior to an existing `ViewHandler` instance.
  ViewResource | Superclass of `Resource` that is only for use with views.

- Enum Summary
  Enum | Description
  --- | ---
  ProjectStage | This class enables a feature similar to the `RAILS_ENV` feature of the Ruby on Rails web framework.

- Exception Summary
  Exception | Description
  --- | ---
  ProtectedViewException | This exception is thrown by the runtime when a violation of the view protection mechanism is encountered.
  ViewExpiredException | Implementations must throw this `FacesException` when attempting to restore the view `StateManager.restoreView(javax.faces.context.FacesContext, String, String)` results in failure on postback.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  ResourceDependencies | Container annotation to specify multiple `ResourceDependency` annotations on a single class.
  ResourceDependency | Instances of `UIComponent` or `Renderer` that have this annotation (or `ResourceDependencies` attached at the class level will automatically have a resource dependency added so that the named resource will be present in user agent's view of the `UIViewRoot` in which this component or renderer is used.

## Package javax.faces.application Description

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. The main class in this package is `Application`.

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