Package jakarta.faces.application
package jakarta.faces.application
-
ClassDescriptionApplication 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.This class defines a
java.util.ServiceLoaderservice which enables programmatic configuration of the Jakarta Server Faces runtime using the existing Application Configuration Resources schema.ApplicationFactory is a factory object that creates (if needed) and returnsApplicationinstances.Provides a simple implementation ofApplicationthat can be subclassed by developers wishing to provide specialized behavior to an existingApplicationinstance.ConfigurableNavigationHandler extends the contract ofNavigationHandlerto allow runtime inspection of theNavigationCases that make up the rule-base for navigation.Provides a simple implementation ofConfigurableNavigationHandlerthat can be subclassed by developers wishing to provide specialized behavior to an existingConfigurableNavigationHandlerinstance.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 ofNavigationCasethat can be subclassed by developers wishing to provide specialized behavior to an existingNavigationCaseinstance.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 ofNavigationHandlerthat can be subclassed by developers wishing to provide specialized behavior to an existingNavigationHandlerinstance.This class enables a feature similar to theRAILS_ENVfeature 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 ofResourceis a Java object representation of the artifact that is served up in response to a resource request from the client.Container annotation to specify multipleResourceDependencyannotations on a single class.Instances ofUIComponentorRendererthat have this annotation (orResourceDependenciesattached 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 theUIViewRootin which this component or renderer is used.ResourceHandler is the run-time API by whichUIComponentandRendererinstances, and theViewDeclarationLanguagecan referenceResourceinstances. An implementation of this class must be thread-safe.Provides a simple implementation ofResourceHandlerthat can be subclassed by developers wishing to provide specialized behavior to an existingResourceHandlerinstance.Defines the resource traversal options.StateManager directs the process of saving and restoring the view between requests.Provides a simple implementation ofStateManagerthat can be subclassed by developers wishing to provide specialized behavior to an existingStateManagerinstance.Implementations must throw thisFacesExceptionwhen attempting to restore the viewStateManager.restoreView(jakarta.faces.context.FacesContext, String, String)results in failure on postback.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.Provides a simple implementation ofViewHandlerthat can be subclassed by developers wishing to provide specialized behavior to an existingViewHandlerinstance.Superclass ofResourcethat is only for use with views.Defines the view traversal options.