Package javax.faces.application


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

  • Class
    Description
    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.
    This class defines a java.util.ServiceLoader service which enables programmatic configuration of the JSF runtime using the existing Application Configuration Resources schema.
    ApplicationFactory is a factory object that creates (if needed) and returns Application instances.
    Provides a simple implementation of Application that can be subclassed by developers wishing to provide specialized behavior to an existing Application instance.
    ConfigurableNavigationHandler extends the contract of NavigationHandler to allow runtime inspection of the NavigationCases that make up the rule-base for navigation.
    Provides a simple implementation of ConfigurableNavigationHandler that can be subclassed by developers wishing to provide specialized behavior to an existing ConfigurableNavigationHandler instance.
    FacesMessage represents a single validation (or other) message, which is typically associated with a particular component in the view.
    Class used to represent message severity levels in a typesafe enumeration.
    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.
    Provides a simple implementation of NavigationCase that can be subclassed by developers wishing to provide specialized behavior to an existing NavigationCase instance.
    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 provides a simple implementation of NavigationHandler that can be subclassed by developers wishing to provide specialized behavior to an existing NavigationHandler instance.
    This class enables a feature similar to the RAILS_ENV feature of the Ruby on Rails web framework.
    This exception is thrown by the runtime when a violation of the view protection mechanism is encountered.
    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.
    Container annotation to specify multiple ResourceDependency annotations on a single class.
    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.
    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.
    Provides a simple implementation of ResourceHandler that can be subclassed by developers wishing to provide specialized behavior to an existing ResourceHandler instance.
    Provides a simple implementation of Resource that can be subclassed by developers wishing to provide specialized behavior to an existing Resource instance.
    StateManager directs the process of saving and restoring the view between requests.
    Provides a simple implementation of StateManager that can be subclassed by developers wishing to provide specialized behavior to an existing StateManager instance.
    Implementations must throw this FacesException when attempting to restore the view StateManager.restoreView(javax.faces.context.FacesContext, String, String) results in failure on postback.
    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.
    Provides a simple implementation of ViewHandler that can be subclassed by developers wishing to provide specialized behavior to an existing ViewHandler instance.
    Superclass of Resource that is only for use with views.