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
.
-
ClassDescriptionApplication 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 returnsApplication
instances.Provides a simple implementation ofApplication
that can be subclassed by developers wishing to provide specialized behavior to an existingApplication
instance.ConfigurableNavigationHandler extends the contract ofNavigationHandler
to allow runtime inspection of theNavigationCase
s that make up the rule-base for navigation.Provides a simple implementation ofConfigurableNavigationHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingConfigurableNavigationHandler
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 ofNavigationCase
that can be subclassed by developers wishing to provide specialized behavior to an existingNavigationCase
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 ofNavigationHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingNavigationHandler
instance.This class enables a feature similar to theRAILS_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 ofResource
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 multipleResourceDependency
annotations on a single class.Instances ofUIComponent
orRenderer
that have this annotation (orResourceDependencies
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 theUIViewRoot
in which this component or renderer is used.ResourceHandler is the run-time API by whichUIComponent
andRenderer
instances, and theViewDeclarationLanguage
can referenceResource
instances. An implementation of this class must be thread-safe.Provides a simple implementation ofResourceHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingResourceHandler
instance.StateManager directs the process of saving and restoring the view between requests.Provides a simple implementation ofStateManager
that can be subclassed by developers wishing to provide specialized behavior to an existingStateManager
instance.Implementations must throw thisFacesException
when attempting to restore the viewStateManager.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 ofViewHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingViewHandler
instance.Superclass ofResource
that is only for use with views.