Package jakarta.faces.application
APIs that are used to link an application's
business logic objects to Jakarta Faces, as well as convenient
pluggable mechanisms to manage the execution of an application that is
based on Jakarta Faces. The main class in this package is Application
.
-
Class Summary Class Description Application Application represents a per-web-application singleton object where applications based on Jakarta Server Faces (or implementations wishing to provide extended functionality) can register application-wide singletons that provide functionality required by Jakarta Server Faces.ApplicationConfigurationPopulator This class defines ajava.util.ServiceLoader
service which enables programmatic configuration of the Jakarta Server Faces runtime using the existing Application Configuration Resources schema.ApplicationFactory ApplicationFactory is a factory object that creates (if needed) and returnsApplication
instances.ApplicationWrapper Provides a simple implementation ofApplication
that can be subclassed by developers wishing to provide specialized behavior to an existingApplication
instance.ConfigurableNavigationHandler ConfigurableNavigationHandler extends the contract ofNavigationHandler
to allow runtime inspection of theNavigationCase
s that make up the rule-base for navigation.ConfigurableNavigationHandlerWrapper Provides a simple implementation ofConfigurableNavigationHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingConfigurableNavigationHandler
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 ofNavigationCase
that can be subclassed by developers wishing to provide specialized behavior to an existingNavigationCase
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 ofNavigationHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingNavigationHandler
instance.Resource An instance ofResource
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 whichUIComponent
andRenderer
instances, and theViewDeclarationLanguage
can referenceResource
instances. An implementation of this class must be thread-safe.ResourceHandlerWrapper Provides a simple implementation ofResourceHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingResourceHandler
instance.ResourceWrapper StateManager StateManager directs the process of saving and restoring the view between requests.StateManagerWrapper Provides a simple implementation ofStateManager
that can be subclassed by developers wishing to provide specialized behavior to an existingStateManager
instance.ViewHandler ViewHandler is the pluggablity mechanism for allowing implementations of or applications using the JJakarta Server 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 ofViewHandler
that can be subclassed by developers wishing to provide specialized behavior to an existingViewHandler
instance.ViewResource Superclass ofResource
that is only for use with views. -
Enum Summary Enum Description ProjectStage This class enables a feature similar to theRAILS_ENV
feature of the Ruby on Rails web framework.ResourceVisitOption Defines the resource traversal options.ViewVisitOption Defines the view traversal options. -
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 thisFacesException
when attempting to restore the viewStateManager.restoreView(jakarta.faces.context.FacesContext, String, String)
results in failure on postback. -
Annotation Types Summary Annotation Type Description ResourceDependencies Container annotation to specify multipleResourceDependency
annotations on a single class.ResourceDependency 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.